From ea29a68f233dec27c4b19c72c6a9dc7473c888dc Mon Sep 17 00:00:00 2001 From: gagarinlg Date: Tue, 18 Jan 2022 14:06:42 +0100 Subject: [PATCH] force backlight on when displaying full screen dialogs fixes #1428 --- radio/src/gui/colorlcd/fullscreen_dialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radio/src/gui/colorlcd/fullscreen_dialog.cpp b/radio/src/gui/colorlcd/fullscreen_dialog.cpp index ae09b60ff..35b7a1662 100644 --- a/radio/src/gui/colorlcd/fullscreen_dialog.cpp +++ b/radio/src/gui/colorlcd/fullscreen_dialog.cpp @@ -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();