Skip to content

Commit eac3314

Browse files
anwarhahjjeffersongeorgeigrr
authored andcommitted
Update ESP8266WiFi.cpp
1 parent 24a6f60 commit eac3314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void ESP8266WiFiClass::softAP(const char* ssid)
173173
}
174174

175175

176-
void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int channel)
176+
void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int channel, int ssid_hidden)
177177
{
178178
_useApMode = true;
179179
if(_useClientMode) {
@@ -199,7 +199,7 @@ void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int chan
199199
strcpy(reinterpret_cast<char*>(conf.ssid), ssid);
200200
conf.channel = channel;
201201
conf.ssid_len = strlen(ssid);
202-
conf.ssid_hidden = 0;
202+
conf.ssid_hidden = ssid_hidden;
203203
conf.max_connection = 4;
204204
conf.beacon_interval = 100;
205205

0 commit comments

Comments
 (0)