summaryrefslogtreecommitdiff
path: root/app/src/behaviors/behavior_toggle_layer.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/behaviors/behavior_toggle_layer.c')
-rw-r--r--app/src/behaviors/behavior_toggle_layer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/behaviors/behavior_toggle_layer.c b/app/src/behaviors/behavior_toggle_layer.c
index b3c6961..3283377 100644
--- a/app/src/behaviors/behavior_toggle_layer.c
+++ b/app/src/behaviors/behavior_toggle_layer.c
@@ -18,7 +18,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
struct behavior_tog_config {};
struct behavior_tog_data {};
-static int behavior_tog_init(struct device *dev) { return 0; };
+static int behavior_tog_init(const struct device *dev) { return 0; };
static int tog_keymap_binding_pressed(struct zmk_behavior_binding *binding,
struct zmk_behavior_binding_event event) {