mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
Fix typo
This commit is contained in:
parent
40da463ee6
commit
ab16b2fe0d
@ -328,7 +328,7 @@ void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int chan
|
||||
_mode(WIFI_AP);
|
||||
}
|
||||
|
||||
if(!ssid || strlen(ssid) || strlen(ssid) > 31) {
|
||||
if(!ssid || *ssid == 0 || strlen(ssid) > 31) {
|
||||
// fail SSID too long or missing!
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user