mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-14 15:11:32 +10:00
add esp32 temp sensor back
This commit is contained in:
+1
-2
@@ -1989,7 +1989,7 @@ void WiFiManager::handleInfo() {
|
||||
|
||||
#elif defined(ESP32)
|
||||
// add esp_chip_info ?
|
||||
infos = 26;
|
||||
infos = 27;
|
||||
String infoids[] = {
|
||||
F("esphead"),
|
||||
F("uptime"),
|
||||
@@ -2017,7 +2017,6 @@ void WiFiManager::handleInfo() {
|
||||
F("apmac"),
|
||||
F("aphost"),
|
||||
F("apbssid")
|
||||
// F("temp")
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
+14
-2
@@ -39,8 +39,20 @@
|
||||
#define WM_NOSOFTAPSSID // no softapssid() @todo shim
|
||||
#endif
|
||||
|
||||
// #ifdef ARDUINO_ESP32S3_DEV
|
||||
#ifdef ESP32
|
||||
// #ifdef CONFIG_IDF_TARGET_ESP32S2
|
||||
// #warning ESP32S2
|
||||
// #endif
|
||||
|
||||
// #ifdef CONFIG_IDF_TARGET_ESP32C3
|
||||
// #warning ESP32C3
|
||||
// #endif
|
||||
|
||||
// #ifdef CONFIG_IDF_TARGET_ESP32S3
|
||||
// #warning ESP32S3
|
||||
// #endif
|
||||
|
||||
#if defined(ARDUINO_ESP32S3_DEV) || defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||
#warning "WM_NOTEMP"
|
||||
#define WM_NOTEMP // disabled temp sensor, have to determine which chip we are on
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user