Fix cw tx-key routine

This commit is contained in:
Jim Colderwood 2024-04-01 20:11:13 +01:00
parent 8c790fa4e0
commit 88e15d9207

View File

@ -44,8 +44,8 @@ void loop() {
if (myrpt->state > SLEEP && millis() - id >= IDTIME) { if (myrpt->state > SLEEP && millis() - id >= IDTIME) {
/* Repeater is IDLE, bring the transmitter up */ /* Repeater is IDLE, bring the transmitter up */
if (myrpt->state == IDLE) { if (!myrpt->transmitter.tx) {
myrpt->state = KEYCHUNK; myrpt->state = HANG;
tx(myrpt); tx(myrpt);
myrpt->state = SLEEP; myrpt->state = SLEEP;
} }