Skip to content

Commit 86e3412

Browse files
committed
update codes, fix softap get codes.
1 parent df72117 commit 86e3412

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Adapters/BlinkerMQTT.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3020,7 +3020,8 @@ bool BlinkerMQTT::autoInit()
30203020
{
30213021
#ifdef ESP8266
30223022
struct station_config conf;
3023-
wifi_station_get_config_default(&conf);
3023+
// wifi_station_get_config_default(&conf);
3024+
wifi_softap_get_config(&conf);
30243025
WiFi.begin(reinterpret_cast<char*>(conf.ssid), reinterpret_cast<char*>(conf.password));
30253026
#elif defined(ESP32)
30263027
wifi_config_t conf;

0 commit comments

Comments
 (0)