mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-29 01:36:26 -04:00
a lot of thread housekeeping. Switch them off when not needed / disabled.
This commit is contained in:
1 parent
1a949b7ca6
commit
41a1dfec79
15 files changed
+102
-59
No files matched your search
@@ -222,6 +222,7 @@ int32_t SerialModule::runOnce()
|
||||
} else {
|
||||
DEBUG_MSG("Serial Module Disabled\n");
|
||||
|
||||
enabled = false;
|
||||
return INT32_MAX;
|
||||
}
|
||||
}
|
||||
@@ -303,9 +304,6 @@ ProcessMessage SerialModuleRadio::handleReceived(const MeshPacket &mp)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
DEBUG_MSG("Serial Module Disabled\n");
|
||||
}
|
||||
return ProcessMessage::CONTINUE; // Let others look at this message also if they want
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user