diff --git a/src/gui/MItem_menus.cpp b/src/gui/MItem_menus.cpp index 6f62cde744..3b1b67a93c 100644 --- a/src/gui/MItem_menus.cpp +++ b/src/gui/MItem_menus.cpp @@ -543,8 +543,7 @@ void MI_LEDS_ENABLE::OnChange(size_t old_index) { static constexpr NumericInputConfig led_display_backlight_brightness_spin_config = { // Keep a min value of 2 percent to make sure the user can still see the lcd content if changed by mistake .min_value = 2, - .max_value = 100, - .special_value = 0 + .max_value = 100 }; MI_DISPLAY_BACKLIGHT_BRIGHTNESS::MI_DISPLAY_BACKLIGHT_BRIGHTNESS() diff --git a/src/guiapi/src/gui_leds.cpp b/src/guiapi/src/gui_leds.cpp index ba316e13a0..045d1bedde 100644 --- a/src/guiapi/src/gui_leds.cpp +++ b/src/guiapi/src/gui_leds.cpp @@ -29,7 +29,9 @@ Neopixels &getNeopixels() { void leds::Init() { // Turn on LCD backlight // TODO move display_backlight_brightness to display - leds::display_backlight_brightness(leds::get_display_backlight_brightness()); + uint8_t value = leds::get_display_backlight_brightness(); + // Safety: Make sure that the display is never turned off (value=0) on reboot/reset ! + leds::display_backlight_brightness(value == 0 ? 100 : value); leds::TickLoop(); #if HAS_SIDE_LEDS()