diff --git a/CHANGELOG_LATEST.md b/CHANGELOG_LATEST.md index 93542cc15..8239fa27f 100644 --- a/CHANGELOG_LATEST.md +++ b/CHANGELOG_LATEST.md @@ -18,3 +18,4 @@ - mqtt free mem check 60k - small cosmetic changes to Searching in Customization web page +- update to espressif32@6.4.0 diff --git a/lib/framework/NetworkSettingsService.cpp b/lib/framework/NetworkSettingsService.cpp index da89434b3..8dcee3bd8 100644 --- a/lib/framework/NetworkSettingsService.cpp +++ b/lib/framework/NetworkSettingsService.cpp @@ -6,6 +6,10 @@ NetworkSettingsService::NetworkSettingsService(AsyncWebServer * server, FS * fs, : _httpEndpoint(NetworkSettings::read, NetworkSettings::update, this, server, NETWORK_SETTINGS_SERVICE_PATH, securityManager) , _fsPersistence(NetworkSettings::read, NetworkSettings::update, this, fs, NETWORK_SETTINGS_FILE) , _lastConnectionAttempt(0) { + addUpdateHandler([&](const String & originId) { reconfigureWiFiConnection(); }, false); +} + +void NetworkSettingsService::begin() { // We want the device to come up in opmode=0 (WIFI_OFF), when erasing the flash this is not the default. // If needed, we save opmode=0 before disabling persistence so the device boots with WiFi disabled in the future. if (WiFi.getMode() != WIFI_OFF) { @@ -21,10 +25,6 @@ NetworkSettingsService::NetworkSettingsService(AsyncWebServer * server, FS * fs, WiFi.onEvent(std::bind(&NetworkSettingsService::WiFiEvent, this, _1)); - addUpdateHandler([&](const String & originId) { reconfigureWiFiConnection(); }, false); -} - -void NetworkSettingsService::begin() { _fsPersistence.readFromFS(); reconfigureWiFiConnection(); } diff --git a/platformio.ini b/platformio.ini index 18027e66a..bb4eab309 100644 --- a/platformio.ini +++ b/platformio.ini @@ -39,7 +39,7 @@ unbuild_flags = ${common.core_unbuild_flags} [espressi32_base] -platform = espressif32@6.3.2 +platform = espressif32 framework = arduino build_flags = ${common.build_flags} build_unflags = ${common.unbuild_flags} diff --git a/src/version.h b/src/version.h index 35cf2c9b9..d92033ee2 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define EMSESP_APP_VERSION "3.6.1-dev.0" +#define EMSESP_APP_VERSION "3.6.1-dev.1"