Parcourir la source

每秒测量一次温度

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui il y a 5 ans
Parent
commit
9f65459f3c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Application/app/sox/measure_task.c

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

@@ -79,7 +79,7 @@ static struct means_task _temp_task;
 static u32 temp_task_handler(void);
 static void init_temp_task(void){
 	_temp_task._task.handler = temp_task_handler;
-	_temp_task.delay = 2 * 1000;
+	_temp_task.delay = 1 * 1000;
 	_temp_task.index = 0;
 	for (int i = 0; i < PACK_TEMPS_NUM; i++){
 		_measure_value.pack_temp[i] = get_pack_temperature(i);