mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-21 19:09:25 +00:00
lint
This commit is contained in:
parent
d29cc98240
commit
f664d766e4
@ -259,7 +259,7 @@ void audio_stop_tone(float pitch) {
|
||||
found = (tones[i].pitch == pitch);
|
||||
if (found) {
|
||||
for (int j = i; (j < AUDIO_TONE_STACKSIZE - 1); j++) {
|
||||
tones[j] = tones[j + 1];
|
||||
tones[j] = tones[j + 1];
|
||||
}
|
||||
tones[AUDIO_TONE_STACKSIZE - 1] = (musical_tone_t){.time_started = 0, .pitch = -1.0f, .duration = 0};
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user