DC/DC: HS MOSFET fail-safe protection enabled
This commit is contained in:
@@ -155,6 +155,7 @@ int main()
|
||||
#if CONFIG_HAS_DCDC_CONVERTER
|
||||
bat_terminal.pass_voltage_targets(&dcdc_lv_port);
|
||||
#endif
|
||||
|
||||
#if CONFIG_HAS_PWM_SWITCH
|
||||
bat_terminal.pass_voltage_targets(&pwm_port_int);
|
||||
#endif
|
||||
@@ -166,6 +167,12 @@ int main()
|
||||
|
||||
ext_mgr.process_1s();
|
||||
|
||||
#if CONFIG_HS_MOSFET_FAIL_SAFE_PROTECTION && CONFIG_HAS_DCDC_CONVERTER
|
||||
if (dev_stat.has_error(ERR_DCDC_HS_MOSFET_SHORT)) {
|
||||
dcdc.fuse_destruction();
|
||||
}
|
||||
#endif
|
||||
|
||||
last_call = now;
|
||||
}
|
||||
feed_the_dog();
|
||||
|
||||
Reference in New Issue
Block a user