소스 검색

fix force full clear bug

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 5 년 전
부모
커밋
94be217fd6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
 			is_force_empty = 0;
 		}
 		}
 	}else if (!chargering && is_force_full) {
 	}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;
 			is_force_full = 0;
 		}
 		}
 	}
 	}