mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +00:00
Hollow out backlight bulb icon when manual light is off
This commit is contained in:
1 parent
9dc85852ba
commit
ae14bf5df3
3 files changed
+20
-1
No files matched your search
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user