forked from kofal.net/zmk
lint: use correct type signature for Zephyr callbacks
This commit is contained in:
committed by
Pete Johanson
parent
7a5155f36e
commit
b8cb407351
@@ -17,7 +17,7 @@ struct k_work_q *zmk_workqueue_lowprio_work_q(void) {
|
||||
return &lowprio_work_q;
|
||||
}
|
||||
|
||||
static int workqueue_init(void) {
|
||||
static int workqueue_init(const struct device *_device) {
|
||||
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