forked from kofal.net/zmk
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:
committed by
Pete Johanson
parent
f743d57ff1
commit
9a963abfc8
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();
|
||||
Reference in New Issue
Block a user