mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
Merge pull request #803 from sidey79/define-hardware
wifimanager.cpp / wifimanager.h
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
|
||||
@@ -2702,3 +2704,5 @@ void WiFiManager::WiFi_autoReconnect(){
|
||||
// }
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -10,9 +10,12 @@
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
|
||||
#ifndef WiFiManager_h
|
||||
#define WiFiManager_h
|
||||
|
||||
#if defined(ESP8266) || defined(ESP32)
|
||||
|
||||
#ifdef ESP8266
|
||||
#include <core_version.h>
|
||||
#endif
|
||||
@@ -506,3 +509,5 @@ class WiFiManager
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user