Improve backlight handling on color lcd radios (#998)

* no more backlight off mode for color lcd radios
disable backlight input controls in radio setup screen, when they are not used by the selected backlight mode
force backlight on to be at least the brightness of backlight off

* do not allow to set the display brightness below the configured off brightness, except when display mode is set to ON.

* Revert "do not allow to set the display brightness below the configured off brightness, except when display mode is set to ON."

This reverts commit e153a8dc658d53f5420c912e7543d6d0a9fe6ed9.
This commit is contained in:
Malte Langermann
2021-11-12 12:19:45 +11:00
committed by GitHub
parent c39420bde7
commit 5614646861
4 changed files with 77 additions and 7 deletions
+4
View File
@@ -1878,6 +1878,10 @@ void opentxInit()
#if defined(COLORLCD)
loadTheme();
if (g_eeGeneral.backlightMode == e_backlight_mode_off) {
// no backlight mode off on color lcd radios
g_eeGeneral.backlightMode = e_backlight_mode_keys;
}
#endif
if (g_eeGeneral.backlightMode != e_backlight_mode_off) {