eink: some updates (busy loop + hibernate when screen off)

This commit is contained in:
Florent committed 2026-11-10 11:52:38 -04:00
1 parent 2367886a4c
commit 8d5bd2e2c7
5 files changed
+6 -3

No files matched your search

+1 -2
View File
@@ -101,6 +101,7 @@ void GxEPDDisplay::turnOff(bool blank) {
}
_isOn = false;
last_display_crc_value=0;
display.hibernate();
}
void GxEPDDisplay::blankScreen() {
@@ -112,8 +113,6 @@ void GxEPDDisplay::blankScreen() {
display.epd2.setBusyCallback(NULL);
_partial_refresh_count = 0;
last_display_crc_value = 0;
// we can hibernate as screen has been cleaned
display.hibernate();
}
void GxEPDDisplay::clear() {