From eff0c7b6362bf13de8e65a31fd92c6cf95dbbe42 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sat, 20 Jan 2024 10:15:18 -0600 Subject: [PATCH] Add SY command validation remove FT991 from vfo adjustment --- rigs/yaesu/newcat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index b579e1abb..494ad68e0 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -8218,7 +8218,6 @@ int newcat_set_tx_vfo(RIG *rig, vfo_t tx_vfo) newcat_is_rig(rig, RIG_MODEL_FT2000) || newcat_is_rig(rig, RIG_MODEL_FTDX5000) || newcat_is_rig(rig, RIG_MODEL_FTDX1200) || - newcat_is_rig(rig, RIG_MODEL_FT991) || newcat_is_rig(rig, RIG_MODEL_FTDX10) || newcat_is_rig(rig, RIG_MODEL_FTDX3000)) { @@ -11293,6 +11292,10 @@ int newcat_set_cmd_validate(RIG *rig) { strcpy(valcmd, ""); } + else if (strncmp(priv->cmd_str, "SY", 2) == 0) + { + strcpy(valcmd, "SY;"); + } else { rig_debug(RIG_DEBUG_TRACE, "%s: %s not implemented\n", __func__, priv->cmd_str);