mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
refactor: All SYS_INIT functions are void args.
This commit is contained in:
committed by
Pete Johanson
parent
f4fce9e158
commit
bf4008da02
@@ -17,7 +17,7 @@ struct k_work_q *zmk_workqueue_lowprio_work_q(void) {
|
||||
return &lowprio_work_q;
|
||||
}
|
||||
|
||||
static int workqueue_init(const struct device *_device) {
|
||||
static int workqueue_init(void) {
|
||||
static const struct k_work_queue_config queue_config = {.name = "Low Priority Work Queue"};
|
||||
k_work_queue_start(&lowprio_work_q, lowprio_q_stack, K_THREAD_STACK_SIZEOF(lowprio_q_stack),
|
||||
CONFIG_ZMK_LOW_PRIORITY_THREAD_PRIORITY, &queue_config);
|
||||
|
||||
Reference in New Issue
Block a user