Distinguishing between OV and UV alerts, inhibit added
- During overvoltage alerts, only power sources (PWM switch and DC/DC are switched off), undervoltage only switches load off - Alert inhibit added to prevent switching off during PWM switch startup
This commit is contained in:
+3
-1
@@ -165,7 +165,9 @@ int main()
|
||||
|
||||
load.state_machine();
|
||||
|
||||
adc_set_alerts(); // update regularly to cover changed configurations
|
||||
// update regularly to cover changed battery configurations
|
||||
adc_set_lv_alerts(bat_conf.voltage_absolute_max * charger.num_batteries,
|
||||
bat_conf.voltage_absolute_min * charger.num_batteries);
|
||||
|
||||
eeprom_update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user