From 83def50c46437477f1f286ff7c8f1835c64d9a4d Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Wed, 24 Feb 2021 23:17:09 -0600 Subject: [PATCH] Fix FTDX101D RF_POWER and RF_POWER_WATTS https://github.com/Hamlib/Hamlib/issues/562 --- rigs/yaesu/newcat.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 75dbaf41e..c9947de65 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -4529,6 +4529,13 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) { snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM08%c", cat_term); } + if (is_ftdx101) + { + // separate meters for Main and Sub + snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM0%c", cat_term); + if (rig->state.cache.split) + snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM1%c", cat_term); + } else { snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM5%c", cat_term);