Fixed flapping bug

This commit is contained in:
Jim Colderwood 2024-04-04 11:32:59 +01:00
parent 7c1ea015a8
commit 76635932a2

View File

@ -26,7 +26,7 @@ void rx(repeater* myrpt) {
return;
}
if (myrpt->gateway.transmitter.tx) {
if (myrpt->receiver.rx && myrpt->gateway.transmitter.tx) {
digitalWrite(GWPTT, false);
myrpt->gateway.transmitter.tx = false;
}