mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 18:52:30 +00:00
Refactor OSThread consumers to use disable()
This commit is contained in:
@@ -12,9 +12,7 @@ void CardKbI2cImpl::init()
|
||||
{
|
||||
if (cardkb_found != CARDKB_ADDR)
|
||||
{
|
||||
// Input device is not detected.
|
||||
setInterval(INT32_MAX);
|
||||
enabled = false;
|
||||
disable();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user