From 88e15d920765275400aa224f21fc56d3d57bfc0a Mon Sep 17 00:00:00 2001 From: Jim Colderwood Date: Mon, 1 Apr 2024 20:11:13 +0100 Subject: [PATCH] Fix cw tx-key routine --- GB3TX/GB3TX.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GB3TX/GB3TX.ino b/GB3TX/GB3TX.ino index 3a2f685..ad356d6 100644 --- a/GB3TX/GB3TX.ino +++ b/GB3TX/GB3TX.ino @@ -44,8 +44,8 @@ void loop() { if (myrpt->state > SLEEP && millis() - id >= IDTIME) { /* Repeater is IDLE, bring the transmitter up */ - if (myrpt->state == IDLE) { - myrpt->state = KEYCHUNK; + if (!myrpt->transmitter.tx) { + myrpt->state = HANG; tx(myrpt); myrpt->state = SLEEP; }