aboutsummaryrefslogtreecommitdiffstats
path: root/quantum
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
parent3d6119856acf6cdcaca575d285970f336d208794 (diff)
downloadfirmware-6f37bd6678d6e27251647f1bea6d7746bdf7c79d.tar.gz
firmware-6f37bd6678d6e27251647f1bea6d7746bdf7c79d.tar.bz2
firmware-6f37bd6678d6e27251647f1bea6d7746bdf7c79d.zip
Fix Clicky Down code
Diffstat (limited to 'quantum')
-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 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;