summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;