Fix & simplify fatal screens

This commit is contained in:
Raphael Coeffic
2022-06-17 05:34:47 +02:00
committed by Raphael Coeffic
parent 6798b2fde9
commit ac84ac1397
4 changed files with 65 additions and 151 deletions
-7
View File
@@ -2043,13 +2043,6 @@ 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;
}