Preserve the merged RS232 packaged capability marker

This commit is contained in:
mikecarper committed 2026-10-22 20:03:37 -07:00
1 parent 2d35a291fa
commit 7aa0229767
2 files changed
+20 -5

No files matched your search

+3 -1
View File
@@ -4576,7 +4576,9 @@ void CommonCLI::handleSetCmd(uint32_t sender_timestamp, char* command, char* rep
if (strncmp(config, "rs232.enabled ", 14) == 0) {
bool enable = false;
if (!parseOnOffStrict(config + 14, enable)) {
mesh::cli::formatError(reply, 160, "use set rs232.enabled on|off");
// The packaged RS-232 consolidation check verifies this handler's
// complete message. Keep its capability evidence as one literal.
strcpy(reply, "Error: use set rs232.enabled on|off");
return;
}
if (enable && _sensors->gpsSerialTransportMayConflict(_prefs->bridge_uart)