Update wifiShowAP()

This commit is contained in:
fvanroie 2023-04-11 00:23:34 +02:00
parent 7f9dc100bd
commit 516b42a7e8

View File

@ -387,10 +387,7 @@ static void wifiSTADisconnected(WiFiEventStationModeDisconnected info)
bool wifiShowAP()
{
if(wifiEnabled && strlen(wifiSsid) != 0)
return false;
else
return true;
return wifiEnabled && strlen(wifiSsid) == 0;
}
bool wifiShowAP(char* ssid, char* pass)