File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ espConnect.getConfig().ipConfig.dns.fromString("192.168.125.1");
122
122
espConnect.listen([ ] (__ unused Mycila::ESPConnect::State previous, __ unused Mycila::ESPConnect::State state) {
123
123
switch (state) {
124
124
case Mycila::ESPConnect::State::PORTAL_COMPLETE:
125
- bool apMode = espConnect.hasConfiguredAPMode() ;
125
+ bool apMode = espConnect.getConfig().apMode ;
126
126
std::string wifiSSID = espConnect.getConfig().wifiSSID;
127
127
std::string wifiPassword = espConnect.getConfig().wifiPassword;
128
128
if (apMode) {
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ espConnect.getConfig().ipConfig.dns.fromString("192.168.125.1");
122
122
espConnect.listen([ ] (__ unused Mycila::ESPConnect::State previous, __ unused Mycila::ESPConnect::State state) {
123
123
switch (state) {
124
124
case Mycila::ESPConnect::State::PORTAL_COMPLETE:
125
- bool apMode = espConnect.hasConfiguredAPMode() ;
125
+ bool apMode = espConnect.getConfig().apMode ;
126
126
std::string wifiSSID = espConnect.getConfig().wifiSSID;
127
127
std::string wifiPassword = espConnect.getConfig().wifiPassword;
128
128
if (apMode) {
You can’t perform that action at this time.
0 commit comments