Sfoglia il codice sorgente

add log to 5238 calibrate for temp changed

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 5 anni fa
parent
commit
68ca177a3c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Application/app/sox/state.c

+ 1 - 0
Application/app/sox/state.c

@@ -501,6 +501,7 @@ static void _temperature_notify(void){
 			if (pcb_temp_count ++ >= 5) {
 				current_calibrate();
 				pcb_temp = measure_value()->pack_temp[PCB_TEMP_INDEX];
+				state_warning("ML5238 calibrate!!\n");
 			}
 		}else {
 			pcb_temp_count = 0;