Browse Source

Fix Clicky Down code

pull/2858/head 0.6.20
Drashna Jaelre 6 years ago
committed by Jack Humbert
parent
commit
6f37bd6678
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      quantum/process_keycode/process_clicky.c

+ 1
- 1
quantum/process_keycode/process_clicky.c View File

@ -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;


Loading…
Cancel
Save