Explorar o código

放电大于10mA小于500mA,加快5%放电

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui %!s(int64=4) %!d(string=hai) anos
pai
achega
459c5b821c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Application/app/sox/soc.c

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

@@ -135,7 +135,7 @@ static void soc_update_discharger_coeff(void){
 				coff = 1.01f;
 			}
 		}
-		if ((abs(measure_value()->load_current) > 5.0f) && (abs(measure_value()->load_current) < 1000)) {
+		if ((abs(measure_value()->load_current) > 10.0f) && (abs(measure_value()->load_current) < 500)) {
 			coff = 1.05f;
 		}
 		_discharger_coefficient = _discharger_coefficient * coff;