mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
don't force AP when Wifi fails to connect first time
This commit is contained in:
@@ -318,9 +318,9 @@ void MyESP::_wifiCallback(justwifi_messages_t code, char * parameter) {
|
||||
|
||||
if (code == MESSAGE_ACCESSPOINT_CREATING) {
|
||||
myDebug_P(PSTR("[WIFI] Creating access point"));
|
||||
// for setting of wifi mode to AP and save
|
||||
// for setting of wifi mode to AP, but don't save
|
||||
_network_wmode = 1;
|
||||
(void)_fs_writeConfig();
|
||||
// (void)_fs_writeConfig();
|
||||
}
|
||||
|
||||
if (code == MESSAGE_ACCESSPOINT_FAILED) {
|
||||
|
||||
Reference in New Issue
Block a user