Просмотр исходного кода

is_calibrated 改为第8bit

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 5 лет назад
Родитель
Сommit
e4655358bc
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      Application/app/sox/health.h

+ 1 - 2
Application/app/sox/health.h

@@ -24,7 +24,7 @@ typedef struct {
 	uint32_t charger_over_current:1;
 	uint32_t discharger_over_current:1;
 
-	uint32_t res1 :1;//ST_TOTAL_CHRG
+	uint32_t is_calibrated :1;//ST_TOTAL_CHRG
 	uint32_t charger_cells_vol_diff_over:1; //充电cell的电压差异超过阈值
 	uint32_t power_save:1;
 	uint32_t powerdown_lower_voltage:1;
@@ -46,7 +46,6 @@ typedef struct {
 
 	uint32_t is_work_temp_normal:1;
 	uint32_t small_current_real_short:1; //真实短路
-	uint32_t is_calibrated:1; //26bit
 
 	uint8_t    internal_resistance[CELLS_NUM];   //cell's internal resistance
 }bms_health_t;