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 10b0f1467..3f3ffc6af 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -65,7 +65,7 @@ void app_main(void) printf("Temperature: %.2f \n", humidity); printf("Temperature: %.2f kPa\n", pressure); - vTaskDelay(2000); + vTaskDelay(2000/portTICK_PERIOD_MS); } }