summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-05-27 23:14:09 -0400
committerPete Johanson <peter@peterjohanson.com>2020-05-27 23:14:09 -0400
commit6e1e21c2be2753d13ec4c2254e6ccab11fcf007c (patch)
treed040d2cda921049dcc54e332ce1688fa1aff45c0
parent1423fe175c44b277e5293ea06b4aa714931fd58d (diff)
Add missing returns for the new modifiers functions.
-rw-r--r--src/hid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hid.c b/src/hid.c
index 5e87b59..35dcdac 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