~ruther/qmk_firmware

89a78f4a11a8f04777b3407c958dc989b4d7d884 — Jack Humbert 9 years ago 5a15c11
audio fixes
1 files changed, 2 insertions(+), 2 deletions(-)

M quantum/audio.c
M quantum/audio.c => quantum/audio.c +2 -2
@@ 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