renamed reconnectWiFi to initWifi

This commit is contained in:
Jm Casler 2020-09-16 23:16:11 -07:00
parent 73b47a78aa
commit 64710a6a04

View File

@ -97,7 +97,7 @@ void WiFiEvent(WiFiEvent_t event)
DEBUG_MSG("Disconnected from WiFi access point\n"); DEBUG_MSG("Disconnected from WiFi access point\n");
// Reconnect WiFi // Reconnect WiFi
reconnectWiFi(); initWifi();
break; break;
case SYSTEM_EVENT_STA_AUTHMODE_CHANGE: case SYSTEM_EVENT_STA_AUTHMODE_CHANGE:
DEBUG_MSG("Authentication mode of access point has changed\n"); DEBUG_MSG("Authentication mode of access point has changed\n");