From 6e1e21c2be2753d13ec4c2254e6ccab11fcf007c Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Wed, 27 May 2020 23:14:09 -0400 Subject: [PATCH] Add missing returns for the new modifiers functions. --- src/hid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hid.c b/src/hid.c index 5e87b596..35dcdac9 100644 --- a/src/hid.c +++ b/src/hid.c @@ -24,13 +24,13 @@ int zmk_hid_unregister_mod(zmk_mod modifier) int zmk_hid_register_mods(zmk_mod_flags modifiers) { report.modifiers |= modifiers; - printk("After register mods %d have %d\n", modifiers, report.modifiers); + return 0; } int zmk_hid_unregister_mods(zmk_mod_flags modifiers) { report.modifiers &= ~modifiers; - printk("After unregister mods %d have %d\n", modifiers, report.modifiers); + return 0; } #define KEY_OFFSET 0x02