Add normalradio to common CLI

This commit is contained in:
mikecarper committed 2026-08-19 12:44:49 -07:00
1 parent 5ba511cfb7
commit a39bbbd467
12 files changed
+67 -8

No files matched your search

+6
View File
@@ -2369,6 +2369,12 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, char* command, char* re
} else {
strcpy(reply, "ERR: bad pubkey");
}
} else if (strcmp(command, "normalradio") == 0) {
if (_callbacks->scheduleNormalRadio()) {
strcpy(reply, "OK - normal radio restore scheduled");
} else {
strcpy(reply, "Error: unsupported");
}
} else if (memcmp(command, "tempradio ", 10) == 0) {
strcpy(tmp, &command[10]);
const char *parts[5];