mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-10 14:42:08 +03:00
correct default return value for softAP
This commit is contained in:
@ -101,7 +101,7 @@ bool ESP8266WiFiAPClass::softAP(const char* ssid, const char* passphrase, int ch
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ret = false;
|
bool ret = true;
|
||||||
|
|
||||||
struct softap_config conf;
|
struct softap_config conf;
|
||||||
strcpy(reinterpret_cast<char*>(conf.ssid), ssid);
|
strcpy(reinterpret_cast<char*>(conf.ssid), ssid);
|
||||||
|
Reference in New Issue
Block a user