Browse Source

Deleted printf in stm32_temperature.c

Dmitry Telenkov 10 tháng trước cách đây
mục cha
commit
de47ac21dd
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      modules/stm32_temperature/stm32_temperature.c

+ 2 - 2
modules/stm32_temperature/stm32_temperature.c

@@ -90,8 +90,8 @@ void stm32_temperature_meas(void *params)
         adc_temperature /= .0025; // Divide by slope 2.5mV
 
         adc_temperature += 25.0; // Add the 25°C
-       UPS.temp_stm32 = adc_temperature - TEMPERATURE_SHIFT;
-       printf("stm32_temperature %0.1f\r\n", UPS.temp_stm32);
+        UPS.temp_stm32 = adc_temperature - TEMPERATURE_SHIFT;
+        //printf("stm32_temperature %0.1f\r\n", UPS.temp_stm32);
         vTaskDelay(5000);
     }
 }