Skip to content

Commit 39212ba

Browse files
committed
Fix WiFi.onStationModeDHCPTimeout (esp8266#2195)
1 parent 4387440 commit 39212ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ WiFiEventHandler ESP8266WiFiGenericClass::onStationModeGotIP(std::function<void(
150150
return handler;
151151
}
152152

153-
WiFiEventHandler onStationModeDHCPTimeout(std::function<void(void)> f)
153+
WiFiEventHandler ESP8266WiFiGenericClass::onStationModeDHCPTimeout(std::function<void(void)> f)
154154
{
155155
WiFiEventHandler handler = std::make_shared<WiFiEventHandlerOpaque>(WIFI_EVENT_STAMODE_DHCP_TIMEOUT, [f](System_Event_t* e){
156156
f();

0 commit comments

Comments
 (0)