Hollow out backlight bulb icon when manual light is off

This commit is contained in:
Armel FAUVEAU committed 2026-06-13 14:33:42 +02:00
1 parent 9dc85852ba
commit ae14bf5df3
3 files changed
+20 -1

No files matched your search

+4 -1
View File
@@ -260,7 +260,10 @@ void UI_DisplayStatus()
}
#endif
else if (gBackLight) {
src = gFontLight;
// Distinguish the manual backlight sub-state: BACKLIGHT_TIME == 0
// means the light is currently off (hollow bulb), otherwise it is
// forced on (bulb with filament). Both glyphs share the same size.
src = (gEeprom.BACKLIGHT_TIME == 0) ? gFontLightOff : gFontLight;
size = sizeof(gFontLight);
}
#ifdef ENABLE_FEAT_F4HWN_CHARGING_C