|
|
@@ -448,6 +448,9 @@ static int _can_close_mos_no_hall(void){
|
|
|
static void _process_iostate_changed(s32 unhealth){
|
|
|
if (!(io_state()->hall_detect)){
|
|
|
bms_set_ps_charger_in(0, 0);
|
|
|
+ if (bms_work_is_aging_test()) {
|
|
|
+ bms_work_mode_set(WORK_MODE_AGING_TEST, 0);//close aging test mode
|
|
|
+ }
|
|
|
if (_can_close_mos_no_hall()) {
|
|
|
if (ml5238_is_discharging() && (!_bms_state.charging)){
|
|
|
discharger_open(0);
|