If busy, no tail beep

This commit is contained in:
jimZAH 2024-04-03 14:17:14 +01:00
parent b30cd610c2
commit fa7808a474

View File

@ -74,7 +74,7 @@ void loop() {
if (myrpt->state == HANG && TAILPIPS) {
static unsigned long bc = millis();
if (millis() - bc >= 1000) {
if (millis() - bc >= 1000 && !busy(myrpt)) {
bc = millis();
tone(3, TAILPIP_PITCH, myrpt->params.pip_length);
}