Skip to content

Commit

Permalink
Fix FTDX101D RF_POWER and RF_POWER_WATTS
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Feb 25, 2021
1 parent 2b778fe commit 83def50
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rigs/yaesu/newcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 83def50

Please sign in to comment.