Skip to content

Commit

Permalink
audio fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Apr 18, 2016
1 parent 5a15c11 commit 89a78f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantum/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 89a78f4

Please sign in to comment.