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:
Xudong Zheng
2023-07-17 17:16:04 -04:00
committed by Pete Johanson
parent f743d57ff1
commit 9a963abfc8
6 changed files with 44 additions and 10 deletions

View File

@@ -504,6 +504,14 @@ config ZMK_BATTERY_REPORT_INTERVAL
int "Battery level report interval in seconds"
default 60
config ZMK_LOW_PRIORITY_THREAD_STACK_SIZE
int "Low priority thread stack size"
default 768
config ZMK_LOW_PRIORITY_THREAD_PRIORITY
int "Low priority thread priority"
default 10
#Advanced
endmenu