Skip to content

Commit c8e6b7f

Browse files
committed
correct default return value for softAP
1 parent 027d8ac commit c8e6b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266WiFi/src/ESP8266WiFiAP.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ bool ESP8266WiFiAPClass::softAP(const char* ssid, const char* passphrase, int ch
101101
return false;
102102
}
103103

104-
bool ret = false;
104+
bool ret = true;
105105

106106
struct softap_config conf;
107107
strcpy(reinterpret_cast<char*>(conf.ssid), ssid);

0 commit comments

Comments
 (0)