Wait for lead up before enable longlong action (#7648)

This commit is contained in:
Jonathan Bennett
2025-08-16 06:10:44 -05:00
committed by GitHub
parent 8e552a9f0c
commit c64c196778
3 changed files with 10 additions and 5 deletions

View File

@@ -140,6 +140,10 @@ bool playNextLeadUpNote()
playTones(&note, 1); // Play single note using existing playTones function
leadUpNoteIndex++;
if (leadUpNoteIndex >= leadUpNotesCount) {
return false; // this was the final note
}
return true; // Note was played (playTones handles buzzer availability internally)
}