Skip to content

Commit 9bd5205

Browse files
committed
Update WiFiGeneric.cpp
1 parent bcc8e3d commit 9bd5205

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libraries/WiFi/src/WiFiGeneric.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,6 @@ bool WiFiGenericClass::setHostname(const char * hostname)
615615
*/
616616
void WiFiGenericClass::_eventCallback(arduino_event_t *event)
617617
{
618-
static bool first_connect = true;
619-
620618
if(!event) return; //Null would crash this function
621619

622620
// log_d("Arduino Event: %d - %s", event->event_id, WiFi.eventName(event->event_id));

0 commit comments

Comments
 (0)