소스 검색

去掉多余的清除is_force_full

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 5 년 전
부모
커밋
d75633233b
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      Application/app/sox/soc.c

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

@@ -332,9 +332,6 @@ void soc_update(void){
 		_soc.charger_coulomb = 0;//clear charing
 		_soc.total_coulomb += _soc.pre_charger_coulomb / 3600.0f;
 		chargering = 1;
-		if (_soc.capacity < 100) {
-			is_force_full = 0;
-		}
 #if LEAST_SQUARE==1		
 		start_least_square(0);
 #endif