summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJody Foo <jody.foo@gmail.com>2017-09-29 12:35:20 +0200
committerJack Humbert <jack.humb@gmail.com>2017-10-29 20:05:54 -0400
commitf4949fdd32604ebf7b6cf2ac8919b57be8d0bc35 (patch)
tree90773a0278030541ef4df0b816a93c9434529f51
parent750f8ec94e72a289881bff9f900fbe4ef97f688e (diff)
Fix for issue https://github.com/qmk/qmk_firmware/issues/17510.5.143
-rw-r--r--quantum/process_keycode/process_key_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_key_lock.c b/quantum/process_keycode/process_key_lock.c
index d7978f91c7..50cc0a5ccb 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 {