Report uncertain preference saves without promising rollback

This commit is contained in:
mikecarper committed 2026-10-16 13:45:48 -07:00
1 parent f6c00be3e0
commit 5fc0943f59
17 files changed
+807 -45

No files matched your search

+1 -1
View File
@@ -1326,7 +1326,7 @@ bool CommonCLI::handleObserverCommand(uint32_t sender_timestamp, char* command,
_prefs->ota_channel = ch;
if (!saveCommonPrefs()) {
_prefs->ota_channel = previous;
strcpy(reply, "ERR: OTA channel save failed; setting unchanged");
strcpy(reply, "ERR: save unconfirmed; reboot may differ");
} else {
snprintf(reply, 160, "channel set to %s, base %s; run ota update to switch",
ota_channel_name(ch), ota_resolve_base(ch));