~ruther/qmk_firmware

f0c94530831805c7309eb833cdf31e3f0d9d99e1 — Nebuleon 1 year, 9 months ago b2d068d
audio: Don't play the first note of zero-note melodies (#21661)

1 files changed, 4 insertions(+), 0 deletions(-)

M quantum/audio/audio.c
M quantum/audio/audio.c => quantum/audio/audio.c +4 -0
@@ 311,6 311,10 @@ void audio_play_melody(float (*np)[][2], uint16_t n_count, bool n_repeat) {
        return;
    }

    if (n_count == 0) {
        return;
    }

    if (!audio_initialized) {
        audio_init();
    }

Do not follow this link