]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
audio fixes
authorJack Humbert <jack.humb@gmail.com>
Mon, 18 Apr 2016 01:26:06 +0000 (21:26 -0400)
committerJack Humbert <jack.humb@gmail.com>
Mon, 18 Apr 2016 01:26:06 +0000 (21:26 -0400)
quantum/audio.c

index 5805da46c1e4acaca56318e92cfc97678dd71a81..69c58ca6c6898fb2b050f404ea0cf5b0eac89144 100644 (file)
@@ -351,7 +351,7 @@ void play_notes(float (*np)[][2], uint8_t n_count, bool n_repeat, float n_rest)
 
 if (audio_config.enable) {
 
-    if (note || notes)
+    if (note)
         stop_all_notes();
     notes = true;
 
@@ -406,7 +406,7 @@ void play_note(double freq, int vol) {
 
 if (audio_config.enable && voices < 8) {
 
-    if (note || notes)
+    if (notes)
         stop_all_notes();
     note = true;
     #ifdef PWM_AUDIO