From f4949fdd32604ebf7b6cf2ac8919b57be8d0bc35 Mon Sep 17 00:00:00 2001 From: Jody Foo Date: Fri, 29 Sep 2017 12:35:20 +0200 Subject: [PATCH] Fix for issue https://github.com/qmk/qmk_firmware/issues/1751 --- quantum/process_keycode/process_key_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/process_keycode/process_key_lock.c b/quantum/process_keycode/process_key_lock.c index d7978f91c..50cc0a5cc 100644 --- a/quantum/process_keycode/process_key_lock.c +++ b/quantum/process_keycode/process_key_lock.c @@ -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 {