From bf52ea58d728a4a74701a223708bfdbce389967e Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Thu, 21 Jan 2021 22:36:24 -0600 Subject: [PATCH] Fix FTDX10 SH commands --- rigs/yaesu/newcat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 704908d6a..aff33cde7 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -7854,14 +7854,14 @@ int newcat_set_rx_bandwidth(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) } /* end else */ - if (is_ftdx101 || is_ft891 || is_ftdx10) + if (is_ftdx101 || is_ft891) { // some rigs now require the bandwidth be turned "on" int on = is_ft891; snprintf(priv->cmd_str, sizeof(priv->cmd_str), "SH%c%d%02d;", main_sub_vfo, on, w); } - else if (is_ft2000) + else if (is_ft2000 || is_ftdx10) { snprintf(priv->cmd_str, sizeof(priv->cmd_str), "SH0%02d;", w); } @@ -8091,7 +8091,7 @@ int newcat_get_rx_bandwidth(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t *width) if (sh_command_valid) { - if (is_ft2000) + if (is_ft2000 || is_ftdx10) { snprintf(priv->cmd_str, sizeof(priv->cmd_str), "%s0%c", cmd, cat_term); }