1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Fix WiFi.onStationModeDHCPTimeout (#2195)

This commit is contained in:
Ivan Grokhotkov 2016-07-04 15:47:55 +08:00
parent 438744044c
commit 39212baeb0

View File

@ -150,7 +150,7 @@ WiFiEventHandler ESP8266WiFiGenericClass::onStationModeGotIP(std::function<void(
return handler;
}
WiFiEventHandler onStationModeDHCPTimeout(std::function<void(void)> f)
WiFiEventHandler ESP8266WiFiGenericClass::onStationModeDHCPTimeout(std::function<void(void)> f)
{
WiFiEventHandler handler = std::make_shared<WiFiEventHandlerOpaque>(WIFI_EVENT_STAMODE_DHCP_TIMEOUT, [f](System_Event_t* e){
f();