fix lint warnings on osx

This commit is contained in:
proddy
2026-05-01 17:58:22 +02:00
parent df3d75c702
commit 747047556e
2 changed files with 11 additions and 0 deletions

View File

@@ -1647,6 +1647,7 @@ bool System::check_upgrade() {
// changes going to v3.9 from an earlier version
if (settings_version.major() == 3 && settings_version.minor() < 9) {
#ifndef EMSESP_STANDALONE
EMSESP::esp32React.getAPSettingsService()->update([&](APSettings & apSettings) {
if (apSettings.provisionMode == 0) {
apSettings.provisionMode = AP_MODE_DISCONNECTED; // AP_MODE_ALWAYS has been removed
@@ -1655,6 +1656,7 @@ bool System::check_upgrade() {
}
return StateUpdateResult::UNCHANGED;
});
#endif
}
// changes to application settings