a lot of thread housekeeping. Switch them off when not needed / disabled.

This commit is contained in:
Thomas Göttgens committed 2022-12-29 15:45:49 +01:00
1 parent 1a949b7ca6
commit 41a1dfec79
15 files changed
+102 -59

No files matched your search

@@ -9,6 +9,8 @@ void RotaryEncoderInterruptImpl1::init()
{
if (!moduleConfig.canned_message.rotary1_enabled) {
// Input device is disabled.
setInterval(INT32_MAX);
enabled = false;
return;
}