mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Fix regression in WiFi.onEvent, add testcase (thanks @everslick)
This commit is contained in:
@ -92,6 +92,7 @@ void ESP8266WiFiGenericClass::onEvent(WiFiEventCb f, WiFiEvent_t event)
|
||||
(*f)(static_cast<WiFiEvent>(e->event));
|
||||
});
|
||||
handler->mCanExpire = false;
|
||||
sCbEventList.push_back(handler);
|
||||
}
|
||||
|
||||
WiFiEventHandler ESP8266WiFiGenericClass::onStationModeConnected(std::function<void(const WiFiEventStationModeConnected&)> f)
|
||||
|
Reference in New Issue
Block a user