mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-11-22 00:57:03 +00:00
eink: some updates (busy loop + hibernate when screen off)
This commit is contained in:
1 parent
2367886a4c
commit
8d5bd2e2c7
5 files changed
+6
-3
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user