forked from kofal.net/zmk
refactor: Move away from deprecated label usages.
* Move away from DT_LABEL. * Move to DEVICE_DT_GET for non-behavior device access. * Move various drivers to `gpio_spec_dt` and `DT` related macros. * Remove mcp23017 while at it, since better upstream driver is available.
This commit is contained in:
committed by
Pete Johanson
parent
062f94d014
commit
09ed79a867
@@ -28,8 +28,8 @@ static void behavior_queue_process_next(struct k_work *work) {
|
||||
struct q_item item = {.wait = 0};
|
||||
|
||||
while (k_msgq_get(&zmk_behavior_queue_msgq, &item, K_NO_WAIT) == 0) {
|
||||
LOG_DBG("Invoking %s: 0x%02x 0x%02x", item.binding.behavior_dev,
|
||||
item.binding.param1, item.binding.param2);
|
||||
LOG_DBG("Invoking %s: 0x%02x 0x%02x", item.binding.behavior_dev, item.binding.param1,
|
||||
item.binding.param2);
|
||||
|
||||
struct zmk_behavior_binding_event event = {.position = item.position,
|
||||
.timestamp = k_uptime_get()};
|
||||
|
||||
Reference in New Issue
Block a user