Stop transient beep

This commit is contained in:
Jim Colderwood 2024-04-02 19:57:56 +01:00
parent a95217e24b
commit 3d7637752e

View File

@ -60,15 +60,15 @@ void loop() {
} }
if ((myrpt->receiver.rx && myrpt->gateway.receiver.rx) && myrpt->state > HANG) { if ((myrpt->receiver.rx && myrpt->gateway.receiver.rx) && myrpt->state > HANG) {
delay(350);
if (busy(myrpt)) {
continue;
}
myrpt->last = myrpt->state; myrpt->last = myrpt->state;
myrpt->state = HANG; myrpt->state = HANG;
ht = millis(); ht = millis();
if (ht - tot < PIP_KEYCHUNK) if (ht - tot < PIP_KEYCHUNK)
continue; continue;
delay(350);
if (busy(myrpt)) {
continue;
}
courtesyTone(myrpt); courtesyTone(myrpt);
} }