summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-02-18 18:53:38 +0100
committerGitHub <noreply@github.com>2019-02-18 18:53:38 +0100
commitfeee01192eacdbbdc92e76f965d6c93c695b2d2d (patch)
tree22d6ca5dde8eee4d5da28acec4387362b06c386b /quantum/process_keycode
parent1a6a2a7b75dec3b20311bc6d89923fde3222ba1c (diff)
downloadqmk_firmware-feee01192eacdbbdc92e76f965d6c93c695b2d2d.tar.gz
qmk_firmware-feee01192eacdbbdc92e76f965d6c93c695b2d2d.tar.xz
Fix Audio Clicky by adding missing punctuation (#5171)
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 34c3f620b..12fef51f9 100644
--- a/quantum/process_keycode/process_clicky.c
+++ b/quantum/process_keycode/process_clicky.c
@@ -32,7 +32,7 @@ extern bool midi_activated;
void clicky_play(void) {
#ifndef NO_MUSIC_MODE
- if (music_activated || midi_activated || audio_config.enable) return;
+ if (music_activated || midi_activated || !audio_config.enable) return;
#endif // !NO_MUSIC_MODE
clicky_song[0][0] = 2.0f * clicky_freq * (1.0f + clicky_rand * ( ((float)rand()) / ((float)(RAND_MAX)) ) );
clicky_song[1][0] = clicky_freq * (1.0f + clicky_rand * ( ((float)rand()) / ((float)(RAND_MAX)) ) );