-
Notifications
You must be signed in to change notification settings - Fork 47
Description
I tried compiling the newest release of the Custom Access Point with Platformio and Arduino without much success.
With Platformio the code compiled and uploaded, but did not do anything (no WIFI Access Point appeared).
On Arduino compiling stopped after logging some warnings, notes and the following error message:
C:\Users\DL5SMB\Documents\Arduino\libraries\WiFiManager-feature_asyncwebserver\WiFiManager.cpp: In member function 'void WiFiManager::WiFi_autoReconnect()': C:\Users\DL5SMB\Documents\Arduino\libraries\WiFiManager-feature_asyncwebserver\WiFiManager.cpp:3486:79: error: no matching function for call to 'WiFiClass::onEvent(std::_Bind_helper<false, void (WiFiManager::*)(arduino_event_id_t, system_event_info_t), WiFiManager*, const std::_Placeholder<1>&, const std::_Placeholder<2>&>::type)' wm_event_id = WiFi.onEvent(std::bind(&WiFiManager::WiFiEvent,this,_1,_2)); // @todo move, needed for async esp32 scannetworks
I think this is a bug of the Wifi-Manager library and the ESP32. Maybe someone can verify this?
I checked out the code before the change to this library, and the old code compiled without errors and the ESP32/Webserver
starts and is accesible.
Sascha