diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-04-17 21:26:06 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-17 21:26:06 -0400 |
commit | 89a78f4a11a8f04777b3407c958dc989b4d7d884 (patch) | |
tree | 3f4b95eb49c1e3bc40330bf9757865bdd8b45c46 /quantum | |
parent | 5a15c113d7458bf3bea6904e3c607898e961164c (diff) | |
download | qmk_firmware-89a78f4a11a8f04777b3407c958dc989b4d7d884.tar.gz qmk_firmware-89a78f4a11a8f04777b3407c958dc989b4d7d884.zip |
audio fixes
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/audio.c b/quantum/audio.c index 5805da46c1..69c58ca6c6 100644 --- a/quantum/audio.c +++ b/quantum/audio.c @@ -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 |