Move all wifi functions out of constructor

Cannot use wifi in constructor on esp32, as it is not available yet,
This commit is contained in:
Shawn A
2018-06-18 15:27:18 -05:00
parent 01a5646317
commit 10088c71f3
2 changed files with 20 additions and 9 deletions
+5
View File
@@ -310,6 +310,11 @@ class WiFiManager
boolean _preloadwifiscan = true; // preload wifiscan if true
boolean _disableIpFields = false; // edge case, if true, showxFields(false) forces ip fields off instead of default show when set
// wrapper functions for handling setting and unsetting persistent for now.
bool _hasBegun = false;
void _begin();
void _end();
void setupConfigPortal();
void startWPS();
bool startAP();