From 69b50b8ce75d656c36f8e19a3063f639387fb215 Mon Sep 17 00:00:00 2001 From: tokazio Date: Tue, 17 Jan 2023 22:25:22 +0100 Subject: [PATCH] global if behavior name starts with 'layer' --- app/src/behavior_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/behavior_queue.c b/app/src/behavior_queue.c index d79e9553..ab6a219b 100644 --- a/app/src/behavior_queue.c +++ b/app/src/behavior_queue.c @@ -39,7 +39,7 @@ static void behavior_queue_process_next(struct k_work *work) { if (item.press) { if(strncmp(item.binding.behavior_dev,"RGB_UG",6)==0){ LOG_DBG("RGB_COLOR_HSB_CMD sending binding to peripheral"); - zmk_split_bt_invoke_behavior(0, &binding, event, true); + zmk_split_bt_invoke_behavior(0, &item.binding, event, true); } behavior_keymap_binding_pressed(&item.binding, event); } else {