diff options
author | Nick <nick.win999@gmail.com> | 2020-11-08 12:03:57 -0600 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-11-22 21:23:29 -0500 |
commit | 076fcc1f701b81e70506fdf9d5db93a44f485deb (patch) | |
tree | 9df8025f031ef27aa78e3255a973c04e2b9c839c /app/src | |
parent | a1d3230eef91217953a62d93b6e79dd4ef670168 (diff) |
fix(underglow): Fix error on release of rgb_ug
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/behaviors/behavior_rgb_underglow.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/behaviors/behavior_rgb_underglow.c b/app/src/behaviors/behavior_rgb_underglow.c index 2ee6716..80839a7 100644 --- a/app/src/behaviors/behavior_rgb_underglow.c +++ b/app/src/behaviors/behavior_rgb_underglow.c @@ -48,8 +48,14 @@ static int on_keymap_binding_pressed(struct zmk_behavior_binding *binding, return -ENOTSUP; } +static int on_keymap_binding_released(struct zmk_behavior_binding *binding, + struct zmk_behavior_binding_event event) { + return 0; +} + static const struct behavior_driver_api behavior_rgb_underglow_driver_api = { .binding_pressed = on_keymap_binding_pressed, + .binding_released = on_keymap_binding_released, }; DEVICE_AND_API_INIT(behavior_rgb_underglow, DT_INST_LABEL(0), behavior_rgb_underglow_init, NULL, |