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
@@ -92,7 +92,7 @@ bool handleCommand(uint8_t& shared, const char* command, char* reply,
shared = strcmp(value, "shared") == 0 ? 1 : 0;
if (!save()) {
shared = previous;
snprintf(reply, capacity, "Error: peripheral mode could not be saved");
snprintf(reply, capacity, "Error: save unconfirmed; reboot may differ");
} else {
snprintf(reply, capacity, "OK - %s saved; reboot to apply", value);
}