Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In current configuration, the timer task (the one from FreeRTOS) has …
…the lowest priority (0). Both display and system tasks are also set on priority 0. In cases where any other task takes too much time to execute (it can happen in Display Task, see InfiniTimeOrg/InfiniTime#825), the timer task does not have the opportunity to run fast enough to detect and debounce presses on the button. This commit sets the following priorities: - [0] : Display Task - [1] : Timer and System tasks - [2] : BLE Host - [3] : BLE LL This way, we ensure that button presses will always be detected, even if the rendering of the display takes a huge amount of time.
- Loading branch information