refactor: use low priority workqueue for underglow and battery reporting
Blocking operations on the high priority system workqueue may result in deadlocks, particularly when Bluetooth is in use.
This commit is contained in:
parent
f743d57ff1
commit
9a963abfc8
6 changed files with 44 additions and 10 deletions
1
app/include/zmk/workqueue.h
Normal file
1
app/include/zmk/workqueue.h
Normal file
|
|
@ -0,0 +1 @@
|
|||
struct k_work_q *zmk_workqueue_lowprio_work_q();
|
||||
Loading…
Add table
Add a link
Reference in a new issue