Explorar el Código

未校准状态下欠压,清除最小容量

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui hace 4 años
padre
commit
3c4104b49c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Application/app/sox/soc.c

+ 1 - 0
Application/app/sox/soc.c

@@ -360,6 +360,7 @@ static void soc_calibrate(uint8_t prev_charge_status){
 			}
 		}else {
 			if (_soc.capacity && _soc_is_under_voltage()) {
+				_soc.coulomb_now = _soc.coulomb_min = 0;
 				_soc.capacity = 0;
 			}