mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-24 08:58:57 -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
@@ -82,6 +82,7 @@ int32_t RangeTestModule::runOnce()
|
||||
|
||||
return (senderHeartbeat);
|
||||
} else {
|
||||
enabled = false;
|
||||
return (INT32_MAX);
|
||||
// This thread does not need to run as a receiver
|
||||
}
|
||||
@@ -94,6 +95,7 @@ int32_t RangeTestModule::runOnce()
|
||||
}
|
||||
|
||||
#endif
|
||||
enabled = false;
|
||||
return (INT32_MAX);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user