diff --git a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c index 5316ba4e8..de6b07f69 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -63,7 +63,7 @@ void app_main(void) printf("Temperature: %.2f %\n", humidity); printf("Temperature: %.2f kPa\n", pressure); - vTaskDelay(2000 / portTICK_PERIOD_MS); + vTaskDelay(2000); } }