1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

correct default return value for softAP

This commit is contained in:
Markus Sattler 2016-01-09 17:30:14 +01:00
parent 027d8acbe3
commit c8e6b7f6d2

View File

@ -101,7 +101,7 @@ bool ESP8266WiFiAPClass::softAP(const char* ssid, const char* passphrase, int ch
return false;
}
bool ret = false;
bool ret = true;
struct softap_config conf;
strcpy(reinterpret_cast<char*>(conf.ssid), ssid);