From 12477af8c7bc922d04e4d772e8a64fbb67403a5d Mon Sep 17 00:00:00 2001 From: pelgraine <140762863+pelgraine@users.noreply.github.com> Date: Wed, 4 Mar 2026 19:47:19 +1100 Subject: [PATCH] fix serial monitor loop issue --- examples/companion_radio/MyMesh.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/companion_radio/MyMesh.cpp b/examples/companion_radio/MyMesh.cpp index aa3509f..ac9b533 100644 --- a/examples/companion_radio/MyMesh.cpp +++ b/examples/companion_radio/MyMesh.cpp @@ -2716,9 +2716,11 @@ void MyMesh::checkSerialInterface() { void MyMesh::loop() { BaseChatMesh::loop(); - if (_cli_rescue) { - checkCLIRescueCmd(); - } else { + // Always check USB serial for text CLI commands (independent of BLE) + checkCLIRescueCmd(); + + // Process BLE/WiFi companion app binary frames + if (!_cli_rescue) { checkSerialInterface(); }