Report unverified USB watchdog saves without promising rollback

This commit is contained in:
mikecarper committed 2026-10-16 13:57:14 -07:00
1 parent 5fc0943f59
commit de0e18e8cc
3 files changed
+97 -34

No files matched your search

+1 -1
View File
@@ -387,7 +387,7 @@ bool handleUsbLoggingWatchdogCommand(const char* command, char* reply,
Config candidate = config;
candidate.mode = mode;
if (!saveConfig(candidate, true)) {
snprintf(reply, capacity, "Error: USB watchdog state not durable; unchanged");
snprintf(reply, capacity, "Error: save unconfirmed; reboot may differ");
} else {
config = candidate;
if (config.last_event.sequence) config.last_event.persisted = true;