From: c vw <dl1ycf@darc.de>
Date: Mon, 14 Sep 2020 10:17:12 +0000 (+0200)
Subject: Take care to do the RX/TX transition when entering the keyer.
X-Git-Url: https://git.rkrishnan.org/components/module-simplejson.encoder.html?a=commitdiff_plain;h=9ccd16fd800d7088e3fd175d9e56fdcb24210d56;p=pihpsdr.git

Take care to do the RX/TX transition when entering the keyer.
---

diff --git a/iambic.c b/iambic.c
index 8766b0a..9180cfd 100644
--- a/iambic.c
+++ b/iambic.c
@@ -359,7 +359,7 @@ static void* keyer_thread(void *arg) {
 
 	// check mode: to not induce RX/TX transition if not in CW mode
         txmode=get_tx_mode();
-        if (!mox && cw_breakin && (txmode == modeCWU || txmode == modeCWL)) {
+        if (cw_breakin && (txmode == modeCWU || txmode == modeCWL)) {
           g_idle_add(ext_mox_update, (gpointer)(long) 1);
           // Wait for mox, that is, wait for WDSP shutting down the RX and
           // firing up the TX. This induces a small delay when hitting the key for