mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-06 23:09:56 +00:00
Add 100 msecond delay in tft_task_handler when deviceScreen is null, to fix 100% usage bug
This commit is contained in:
parent
216fbf2343
commit
7eb6d0a985
@ -31,6 +31,8 @@ void tft_task_handler(void *param = nullptr)
|
|||||||
deviceScreen->task_handler();
|
deviceScreen->task_handler();
|
||||||
spiLock->unlock();
|
spiLock->unlock();
|
||||||
deviceScreen->sleep();
|
deviceScreen->sleep();
|
||||||
|
} else {
|
||||||
|
delay(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user