mirror of
https://github.com/pelgraine/Meck.git
synced 2026-03-28 17:42:44 +01:00
fix serial monitor loop issue
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user