Tidy if's

This commit is contained in:
jimZAH 2024-04-03 14:20:11 +01:00
parent fa7808a474
commit d78d3c11c9

View File

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