Enhance loop processing in MyMesh and MQTTBridge to prioritize radio reception and improve responsiveness. Add comments for clarity on packet processing limits and WiFi status handling during MQTT operations.

This commit is contained in:
agessaman committed 2026-01-02 13:36:41 -08:00
1 parent 5d4f1e4c02
commit 617e3b17c0
3 files changed
+69 -5

No files matched your search

+2
View File
@@ -894,6 +894,8 @@ bool MyMesh::saveFilter(ClientInfo* client) {
}
void MyMesh::loop() {
// Check radio FIRST to ensure we don't miss incoming packets
// MQTT processing can take time, so we prioritize radio reception
mesh::Mesh::loop();
#ifdef WITH_MQTT_BRIDGE
bridge.loop();