fix shutdown animation

This commit is contained in:
gagarinlg
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 809480bc6a
commit 89ff8c53f4
3 changed files with 116 additions and 52 deletions
+3
View File
@@ -2049,7 +2049,10 @@ uint32_t pwrCheck()
else {
#if defined(COLORLCD)
if (pwr_press_time != 0)
{
clearShutdownAnimation();
MainWindow::instance()->invalidate();
}
#endif
pwr_check_state = PWR_CHECK_ON;
pwr_press_time = 0;