Merge pull request #803 from sidey79/define-hardware

wifimanager.cpp / wifimanager.h
This commit is contained in:
Shawn A
2019-02-14 11:52:42 -06:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -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
+5
View File
@@ -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