]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Take care to do the RX/TX transition when entering the keyer.
authorc vw <dl1ycf@darc.de>
Mon, 14 Sep 2020 10:17:12 +0000 (12:17 +0200)
committerc vw <dl1ycf@darc.de>
Mon, 14 Sep 2020 10:17:12 +0000 (12:17 +0200)
iambic.c

index 8766b0a029c5d5458d737c4976180449cd413cba..9180cfdb26dd8690afb860a0d6f11d0efa62f5e1 100644 (file)
--- 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