Skip to content

Commit

Permalink
Fix Audio Clicky by adding missing punctuation (#5171)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Feb 18, 2019
1 parent 1a6a2a7 commit feee011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/process_keycode/process_clicky.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) ) );
Expand Down

0 comments on commit feee011

Please sign in to comment.