Refactor OSThread consumers to use disable()

This commit is contained in:
Ben Meadors committed 2022-12-29 16:26:25 -06:00
1 parent a8f93d5f47
commit 38a1315599
9 files changed
+14 -25

No files matched your search

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