diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 6ca3018..7bc55b4 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -2172,7 +2172,7 @@ String WiFiManager::getInfoData(String id){ p.replace(FPSTR(T_1),WiFi.getAutoConnect() ? FPSTR(S_enable) : FPSTR(S_disable)); } #endif - #ifdef ESP32 + #ifdef ESP32 && !defined(WM_NOTEMP) else if(id==F("temp")){ // temperature is not calibrated, varying large offsets are present, use for relative temp changes only p = FPSTR(HTTP_INFO_temp); diff --git a/WiFiManager.h b/WiFiManager.h index 5a2c0d6..df540d0 100644 --- a/WiFiManager.h +++ b/WiFiManager.h @@ -39,6 +39,10 @@ #define WM_NOSOFTAPSSID // no softapssid() @todo shim #endif +#ifdef ARDUINO_ESP32S3_DEV +#define WM_NOTEMP +#endif + // #include "soc/efuse_reg.h" // include to add efuse chip rev to info, getChipRevision() is almost always the same though, so not sure why it matters. // #define esp32autoreconnect // implement esp32 autoreconnect event listener kludge, @DEPRECATED