From: c vw Date: Mon, 14 Sep 2020 10:19:11 +0000 (+0200) Subject: Guard against missing MOX X-Git-Url: https://git.rkrishnan.org/vdrive/components//%22%22.?a=commitdiff_plain;h=5f31c3fc3ef15f9aff5e61b9f464aaa35a5deaa2;p=pihpsdr.git Guard against missing MOX --- diff --git a/iambic.c b/iambic.c index 9180cfd..e3aa4f5 100644 --- 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