Refactor OSThread consumers to use disable()

This commit is contained in:
Ben Meadors
2022-12-29 16:26:25 -06:00
parent a8f93d5f47
commit 38a1315599
9 changed files with 14 additions and 25 deletions

View File

@@ -12,9 +12,7 @@ void CardKbI2cImpl::init()
{
if (cardkb_found != CARDKB_ADDR)
{
// Input device is not detected.
setInterval(INT32_MAX);
enabled = false;
disable();
return;
}