Tidy if's
This commit is contained in:
parent
fa7808a474
commit
d78d3c11c9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user