From 13174121c283c8ec5fc67b5d4eb60ef04fc03052 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Sat, 10 Oct 2020 15:19:01 +0000 Subject: [PATCH] Issue #409 add sleep when PTT is turned off for all Yaesu rigs. Fixes FT991 Fake It problem with WSJT-X --- rigs/yaesu/newcat.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index b224ff7af..b2dcff8c4 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -1147,6 +1147,10 @@ int newcat_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt) snprintf(priv->cmd_str, sizeof(priv->cmd_str), "%s", txoff); rig_debug(RIG_DEBUG_TRACE, "%s: cmd_str = %s\n", __func__, priv->cmd_str); err = newcat_set_cmd(rig); + // some rigs like the FT991 need time before doing anything else like set_freq + // We won't mess with CW mode -- no freq change expected hopefully + if (rig->state.current_mode != RIG_MODE_CW) + hl_usleep(100*1000); break; default: