force backlight on when displaying full screen dialogs

fixes #1428
This commit is contained in:
gagarinlg
2022-01-18 14:06:42 +01:00
parent 7da7261e7b
commit ea29a68f23
@@ -159,6 +159,8 @@ void FullScreenDialog::runForever()
running = true;
while (running) {
resetBacklightTimeout();
auto check = pwrCheck();
if (check == e_power_off) {
boardOff();
@@ -187,6 +189,8 @@ void FullScreenDialog::runForeverNoPwrCheck()
running = true;
while (running) {
resetBacklightTimeout();
checkBacklight();
WDG_RESET();