mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-20 09:51:28 +10:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user