Skip to content

Commit

Permalink
Fix for issue qmk#1751
Browse files Browse the repository at this point in the history
  • Loading branch information
fnurl authored and kgwong committed Nov 26, 2017
1 parent dc52248 commit 5587d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/process_keycode/process_key_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5587d47

Please sign in to comment.