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 715aa7da0..cbf2053ab 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -30,7 +30,7 @@ #define MPU9250_SENSOR_ADDR 0x76 /*!< Slave address of the MPU9250 sensor */ static bme280_handle_t sensor = NULL; -float temperature; +float *temperature; void app_main(void) {