If busy, no tail beep
This commit is contained in:
parent
b30cd610c2
commit
fa7808a474
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user