summaryrefslogtreecommitdiffstats
path: root/quantum/quantum.c
diff options
context:
space:
mode:
authorFredric Silberberg <fred@silberberg.xyz>2017-08-06 23:14:27 +0200
committerJack Humbert <jack.humb@gmail.com>2017-08-08 16:02:53 +0200
commita3e1d9a8cc8b3d376d52f86aacae6315b15efebf (patch)
tree19784f99eab3fa0b03b96402f7e2b62599d17a0a /quantum/quantum.c
parent02f405708bb3a486224b857feb1f03f883f55ffe (diff)
downloadqmk_firmware-a3e1d9a8cc8b3d376d52f86aacae6315b15efebf.tar.gz
qmk_firmware-a3e1d9a8cc8b3d376d52f86aacae6315b15efebf.tar.xz
Added support for locking One Shot modifiers.
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index c71a97bf2..0243a7e01 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -195,7 +195,7 @@ bool process_record_quantum(keyrecord_t *record) {
if (!(
#if defined(KEY_LOCK_ENABLE)
// Must run first to be able to mask key_up events.
- process_key_lock(keycode, record) &&
+ process_key_lock(&keycode, record) &&
#endif
process_record_kb(keycode, record) &&
#if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED)