|
@@ -225,7 +225,8 @@ static s32 _process_unheath(void){
|
|
|
unhealth |= Health_Fault_Can_Sleep;
|
|
unhealth |= Health_Fault_Can_Sleep;
|
|
|
#if IGNORE_DISCHARGER_LOW_VOL==0
|
|
#if IGNORE_DISCHARGER_LOW_VOL==0
|
|
|
if (!(_bms_state.ps_charger_mask && _bms_state.ps_charger_in)) {//PSxxx 告知有充电器插入,忽略欠压
|
|
if (!(_bms_state.ps_charger_mask && _bms_state.ps_charger_in)) {//PSxxx 告知有充电器插入,忽略欠压
|
|
|
- unhealth |= Health_Discharger_Failt;
|
|
|
|
|
|
|
+ unhealth |= Health_Discharger_Failt | Health_aux_Fault;
|
|
|
|
|
+ start_aux_power(0);
|
|
|
if (ml5238_is_discharging()) {
|
|
if (ml5238_is_discharging()) {
|
|
|
if (discharger_close_time == 0) {
|
|
if (discharger_close_time == 0) {
|
|
|
discharger_close_time = shark_get_mseconds();
|
|
discharger_close_time = shark_get_mseconds();
|