diff options
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 5805da46c..69c58ca6c 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) | |||
| 351 | 351 | ||
| 352 | if (audio_config.enable) { | 352 | if (audio_config.enable) { |
| 353 | 353 | ||
| 354 | if (note || notes) | 354 | if (note) |
| 355 | stop_all_notes(); | 355 | stop_all_notes(); |
| 356 | notes = true; | 356 | notes = true; |
| 357 | 357 | ||
| @@ -406,7 +406,7 @@ void play_note(double freq, int vol) { | |||
| 406 | 406 | ||
| 407 | if (audio_config.enable && voices < 8) { | 407 | if (audio_config.enable && voices < 8) { |
| 408 | 408 | ||
| 409 | if (note || notes) | 409 | if (notes) |
| 410 | stop_all_notes(); | 410 | stop_all_notes(); |
| 411 | note = true; | 411 | note = true; |
| 412 | #ifdef PWM_AUDIO | 412 | #ifdef PWM_AUDIO |
