a lot of thread housekeeping. Switch them off when not needed / disabled.
This commit is contained in:
@@ -9,6 +9,8 @@ void RotaryEncoderInterruptImpl1::init()
|
||||
{
|
||||
if (!moduleConfig.canned_message.rotary1_enabled) {
|
||||
// Input device is disabled.
|
||||
setInterval(INT32_MAX);
|
||||
enabled = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user