UiTask: better cleaning of eink screens when hibernating

This commit is contained in:
Florent committed 2026-10-24 10:16:56 -04:00
1 parent 408d674ace
commit da98f5318d
1 file changed
+5 -3
+5 -3
View File
@@ -908,9 +908,11 @@ void UITask::shutdown(bool restart){
if (restart) {
_board->reboot();
} else {
display.forceFullRefresh();
display.clear();
display.endFrame();
if (_display->isEink()) {
_display->blankScreen();
_display->turnOff();
_display->powerOff();
}
// Power off board including radio, display, GPS and components
_board->powerOff();
}