refactor: k_work_queue API updates.
This commit is contained in:
parent
79ab60dfe5
commit
2c5d5fde51
7 changed files with 23 additions and 20 deletions
|
|
@ -95,9 +95,9 @@ int zmk_display_init() {
|
|||
}
|
||||
|
||||
#if IS_ENABLED(CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED)
|
||||
k_work_q_start(&display_work_q, display_work_stack_area,
|
||||
K_THREAD_STACK_SIZEOF(display_work_stack_area),
|
||||
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_PRIORITY);
|
||||
k_work_queue_start(&display_work_q, display_work_stack_area,
|
||||
K_THREAD_STACK_SIZEOF(display_work_stack_area),
|
||||
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_PRIORITY, NULL);
|
||||
#endif
|
||||
|
||||
screen = zmk_display_status_screen();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue