diff --git a/src/core/system.h b/src/core/system.h index a265c65c5..635d8a59f 100644 --- a/src/core/system.h +++ b/src/core/system.h @@ -37,7 +37,7 @@ #include #include -#if defined(CONFIG_IDF_TARGET_ESP32) +#if CONFIG_IDF_TARGET_ESP32 // there is no official API available on the original ESP32 extern "C" { uint8_t temprature_sens_read();