]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fix for issue https://github.com/qmk/qmk_firmware/issues/1751
authorJody Foo <jody.foo@gmail.com>
Fri, 29 Sep 2017 10:35:20 +0000 (12:35 +0200)
committerJack Humbert <jack.humb@gmail.com>
Mon, 30 Oct 2017 00:05:54 +0000 (20:05 -0400)
quantum/process_keycode/process_key_lock.c

index d7978f91c7a2784cb9eddc1010eb9413012f8201..50cc0a5ccbb2415c7091fb57655f2e72935e9abf 100644 (file)
@@ -51,7 +51,7 @@ uint64_t key_state[4] = { 0x0, 0x0, 0x0, 0x0 };
 bool watching = false;
 
 // Translate any OSM keycodes back to their unmasked versions.
-uint16_t inline translate_keycode(uint16_t keycode) {
+static inline uint16_t translate_keycode(uint16_t keycode) {
     if (keycode > QK_ONE_SHOT_MOD && keycode <= QK_ONE_SHOT_MOD_MAX) {
         return keycode ^ QK_ONE_SHOT_MOD;
     } else {