summaryrefslogtreecommitdiff
path: root/quantum/process_keycode
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-04-28 02:12:25 -0700
committerJack Humbert <jack.humb@gmail.com>2018-04-28 11:50:02 -0400
commit6f37bd6678d6e27251647f1bea6d7746bdf7c79d (patch)
treebddf369d817eee509036fe8b8fe4547158982ef5 /quantum/process_keycode
parent3d6119856acf6cdcaca575d285970f336d208794 (diff)
Fix Clicky Down code
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r--quantum/process_keycode/process_clicky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_clicky.c b/quantum/process_keycode/process_clicky.c
index 2b9d8a0f76..f445751e0f 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;