Turn on backlight on power press (but not on startup) (#6145)

This commit is contained in:
3djc
2018-09-02 13:35:25 +02:00
parent ddb9fac4e1
commit f13bf76699
+1 -1
View File
@@ -149,7 +149,7 @@ void readKeysAndTrims()
keys[index++].input(trims_input & i);
}
if ((keys_input || trims_input) && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) {
if ((keys_input || trims_input || pwrPressed()) && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) {
// on keypress turn the light on
backlightOn();
}