mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-15 15:41:21 +10:00
wifimanager.cpp / wifimanager.h
added define that checks on esp32 or esp8266. If another hardware is selectec, then do not try to compile this code.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
|
||||
#include "WiFiManager.h"
|
||||
|
||||
#if defined(ESP8266) || defined(ESP32)
|
||||
|
||||
#ifdef ESP32
|
||||
uint8_t WiFiManager::_lastconxresulttmp = WL_IDLE_STATUS;
|
||||
#endif
|
||||
@@ -2700,3 +2702,5 @@ void WiFiManager::WiFi_autoReconnect(){
|
||||
// }
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user