mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Update wifiShowAP()
This commit is contained in:
parent
7f9dc100bd
commit
516b42a7e8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user