]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Guard against missing MOX
authorc vw <dl1ycf@darc.de>
Mon, 14 Sep 2020 10:19:11 +0000 (12:19 +0200)
committerc vw <dl1ycf@darc.de>
Mon, 14 Sep 2020 10:19:11 +0000 (12:19 +0200)
iambic.c

index 9180cfdb26dd8690afb860a0d6f11d0efa62f5e1..e3aa4f53b188bbd60b41ddf6f55e9dab2b81aefd 100644 (file)
--- a/iambic.c
+++ b/iambic.c
@@ -360,6 +360,10 @@ static void* keyer_thread(void *arg) {
        // check mode: to not induce RX/TX transition if not in CW mode
         txmode=get_tx_mode();
         if (cw_breakin && (txmode == modeCWU || txmode == modeCWL)) {
+          //
+          // Possibly we are still in a TX/RX transition from the end of the last
+          // hang time. Therefore we must queue the "Mox on" even if MOX is still
+          // there
           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