diff options
| author | Pete Johanson <peter@peterjohanson.com> | 2020-05-27 23:14:09 -0400 |
|---|---|---|
| committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-27 23:14:09 -0400 |
| commit | 6e1e21c2be2753d13ec4c2254e6ccab11fcf007c (patch) | |
| tree | d040d2cda921049dcc54e332ce1688fa1aff45c0 | |
| parent | 1423fe175c44b277e5293ea06b4aa714931fd58d (diff) | |
Add missing returns for the new modifiers functions.
| -rw-r--r-- | src/hid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
