Improve SOC and load LED behavior at low SOC
This commit prevents that the SOC bar shows 2 LEDs already even though the load is still switched of because of low voltage.
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ int main()
|
||||
eeprom_update();
|
||||
|
||||
leds_update_1s();
|
||||
leds_update_soc(charger.soc);
|
||||
leds_update_soc(charger.soc, load.switch_state == LOAD_STATE_OFF_LOW_SOC);
|
||||
|
||||
uext_process_1s();
|
||||
thingset_serial_process_1s();
|
||||
|
||||
Reference in New Issue
Block a user