serial #2
@ -26,7 +26,7 @@ void rx(repeater* myrpt) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (myrpt->gateway.transmitter.tx) {
|
if (myrpt->receiver.rx && myrpt->gateway.transmitter.tx) {
|
||||||
digitalWrite(GWPTT, false);
|
digitalWrite(GWPTT, false);
|
||||||
myrpt->gateway.transmitter.tx = false;
|
myrpt->gateway.transmitter.tx = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user