Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove temp
  • Loading branch information
tablatronix committed Jun 26, 2022
1 parent 14aeb75 commit 06c6372
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions WiFiManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06c6372

Please sign in to comment.