Bladeren bron

上次充满不超过5天,本次充满后可以减小最小容量

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 3 jaren geleden
bovenliggende
commit
fd3329207d
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      Application/app/sox/soc.c

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

@@ -329,7 +329,7 @@ static void _force_capacity_full(void){
 		curr_min_cap = _soc.coulomb_max - _soc.current_real_coulomb;
 	}
 
-	if (can_modify_min_when_full()) { //前面出现过电芯欠压, 当前容量没到最大容量
+	if (can_modify_min_cap()) { //当前容量没到最大容量
 		//don't trust if curr_min_cap big than before
 		if (curr_min_cap <= _soc.coulomb_min) {
 			_soc.coulomb_min = _soc.coulomb_min * (1.0f - min_cap_lfp) + curr_min_cap * min_cap_lfp; //lowpass filter