mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Fix typo
This commit is contained in:
@ -328,7 +328,7 @@ void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int chan
|
|||||||
_mode(WIFI_AP);
|
_mode(WIFI_AP);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!ssid || strlen(ssid) || strlen(ssid) > 31) {
|
if(!ssid || *ssid == 0 || strlen(ssid) > 31) {
|
||||||
// fail SSID too long or missing!
|
// fail SSID too long or missing!
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user