Merge pull request #3793 from fdlamotte/eink_hibernate_when_off

eink: some updates (busy loop + hibernate when screen off)
This commit is contained in:
fdlamotte authored and GitHub committed 2026-11-10 12:00:43 -04:00
commit 095bd8c311
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() {