Przeglądaj źródła

fix force full clear bug

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 5 lat temu
rodzic
commit
94be217fd6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Application/app/sox/soc.c

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

@@ -354,7 +354,7 @@ void soc_update(void){
 			is_force_empty = 0;
 		}
 	}else if (!chargering && is_force_full) {
-		if (_soc.discharger_coulomb / (_soc.coulomb_max - _soc.coulomb_min) >= 0.005) {
+		if (_soc.dischrger_coulomb / (_soc.coulomb_max - _soc.coulomb_min) >= 0.005) {
 			is_force_full = 0;
 		}
 	}