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 4a3be6e77..418ee79b6 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -76,7 +76,8 @@ void app_main(void) bme280_default_init(bme280); // Set the BME280 sampling parameters - bme280_set_sampling(bme280, BME280_MODE_NORMAL, BME280_SAMPLING_X1, BME280_SAMPLING_X1, BME280_SAMPLING_X1, BME280_FILTER_OFF, BME280_STANDBY_MS_1000); + bme280_set_sampling(bme280, BME280_MODE_NORMAL, BME280_SAMPLING_X1, BME280_SAMPLING_X1, BME280_SAMPLING_X1, + BME280_FILTER_OFF, BME280_STANDBY_MS_1000); // Create FreeRTOS tasks for reading and printing sensor values xTaskCreate(read_sensor_task, "read_sensor_task", 2048, NULL, 5, NULL);