From e96bfb2e90fd88ae18ed97371a3dd4dae39d9fde Mon Sep 17 00:00:00 2001 From: Ton Huisman Date: Mon, 25 Sep 2023 23:26:01 +0200 Subject: [PATCH] [P026][Sysvars] Explicitly disable FEATURE_INTERNAL_TEMPERATURE for ESP8266 --- src/src/CustomBuild/define_plugin_sets.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/src/CustomBuild/define_plugin_sets.h b/src/src/CustomBuild/define_plugin_sets.h index 8f25e5f2b1..98897d01d9 100644 --- a/src/src/CustomBuild/define_plugin_sets.h +++ b/src/src/CustomBuild/define_plugin_sets.h @@ -2982,6 +2982,10 @@ To create/register a plugin, you have to : #define FEATURE_INTERNAL_TEMPERATURE 0 // Not evailable on ESP8266 #endif #endif +#if defined(FEATURE_INTERNAL_TEMPERATURE) && defined(ESP8266) + #undef FEATURE_INTERNAL_TEMPERATURE + #define FEATURE_INTERNAL_TEMPERATURE 0 // Not evailable on ESP8266 +#endif #ifndef FEATURE_I2C_DEVICE_CHECK #ifdef ESP8266_1M