From d78d3c11c936d4b0085c81f4635ee1dea567f1c0 Mon Sep 17 00:00:00 2001 From: jimZAH Date: Wed, 3 Apr 2024 14:20:11 +0100 Subject: [PATCH] Tidy if's --- GB3TX/GB3TX.ino | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/GB3TX/GB3TX.ino b/GB3TX/GB3TX.ino index ebc8fec..071fba5 100644 --- a/GB3TX/GB3TX.ino +++ b/GB3TX/GB3TX.ino @@ -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); }