Przeglądaj źródła

fix: build error

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 4 lat temu
rodzic
commit
9656503b62
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

@@ -18,7 +18,7 @@ static float     max_soc_delta_time = 0;
 static float _charger_coefficient = 1.0f;
 static float _discharger_coefficient = 1.0f;
 static uint32_t charger_remain_time = 0;
-static uint32 _is_cell_lower_vol = 0;
+static uint32_t _is_cell_lower_vol = 0;
 static const float _discharger_gain[] = {1.0f/*>0度*/, 1.002f/*-2<t<=0*/, 1.005f/*-5<t<=-2*/, 1.008f/*-10<t<=-5*/, 1.02f/*-15<t<=-10*/, 1.04f/*-20<t<=-15*/};
 #define MAX_TIME_FULL_TO_EMPTY (5 * 24 * 3600) //充满到欠压5天内达到,可以校准最小电量
 #define MAX_TIME_EMPTY_TO_FULL (8 * 24 * 3600) //充满到欠压5天内达到,可以校准最小电量