Discharge and load output control improvements
- Charge/discharge control in charger class sets global error flags - Load state machine analyzes error flags to distinguish reasons for switching load off - Temperature errors now identified correctly (issue #59) - Delay before load re-connect after low voltage or overcurrent event now configurable - Unit tests added
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ int main()
|
||||
eeprom_update();
|
||||
|
||||
leds_update_1s();
|
||||
leds_update_soc(charger.soc, load.switch_state == LOAD_STATE_OFF_LOW_SOC);
|
||||
leds_update_soc(charger.soc, load.state == LOAD_STATE_OFF_LOW_SOC);
|
||||
|
||||
uext_process_1s();
|
||||
ts_interfaces.process_1s();
|
||||
|
||||
Reference in New Issue
Block a user