esp32 fix event cb to std::bind, adds async preload

esp32 does not have scan cb, must use event system and oncomplete to get scan count
This commit is contained in:
Shawn A
2018-08-27 12:17:37 -05:00
parent 16c37e5389
commit 85d7f2a549
2 changed files with 19 additions and 15 deletions
+1 -1
View File
@@ -390,7 +390,7 @@ class WiFiManager
bool WiFiSetCountry();
#ifdef ESP32
static void WiFiEvent(WiFiEvent_t event, system_event_info_t info);
void WiFiEvent(WiFiEvent_t event, system_event_info_t info);
#endif
// output helpers