fix serial monitor loop issue

This commit is contained in:
pelgraine
2026-03-04 19:47:19 +11:00
parent 49d399c4d6
commit 12477af8c7

View File

@@ -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();
}