Fix display when power button is released before shutdown

This commit is contained in:
Raphael Coeffic
2022-06-17 05:34:47 +02:00
committed by Raphael Coeffic
parent 3eb109b198
commit cd4d3a28ee
@@ -211,6 +211,10 @@ void drawShutdownAnimation(uint32_t duration, uint32_t totalDuration,
} }
} }
lcdRefresh(); lcdRefresh();
// invalidate screen to enable quick return
// to normal display routine
lv_obj_invalidate(lv_scr_act());
} }
void drawFatalErrorScreen(const char * message) void drawFatalErrorScreen(const char * message)