diff options
author | Drashna Jaelre <drashna@live.com> | 2018-04-28 02:12:25 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-28 11:50:02 -0400 |
commit | 6f37bd6678d6e27251647f1bea6d7746bdf7c79d (patch) | |
tree | bddf369d817eee509036fe8b8fe4547158982ef5 /quantum/process_keycode | |
parent | 3d6119856acf6cdcaca575d285970f336d208794 (diff) | |
download | qmk_firmware-6f37bd6678d6e27251647f1bea6d7746bdf7c79d.tar.gz |
Fix Clicky Down code
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r-- | quantum/process_keycode/process_clicky.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_clicky.c b/quantum/process_keycode/process_clicky.c index 2b9d8a0f7..f445751e0 100644 --- a/quantum/process_keycode/process_clicky.c +++ b/quantum/process_keycode/process_clicky.c @@ -52,7 +52,7 @@ bool process_clicky(uint16_t keycode, keyrecord_t *record) { clicky_freq = new_freq; } } - if (keycode == CLICKY_TOGGLE && record->event.pressed) { + if (keycode == CLICKY_DOWN && record->event.pressed) { float new_freq = clicky_freq / AUDIO_CLICKY_FREQ_FACTOR; if (new_freq > AUDIO_CLICKY_FREQ_MIN) { clicky_freq = new_freq; |