Skip to content

Commit

Permalink
Fix 2nd BS call in newcat.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Jan 16, 2021
1 parent 14493d4 commit f2b8096
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rigs/yaesu/newcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,9 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq)

if (err != RIG_OK) { return err; }

snprintf(priv->cmd_str, sizeof(priv->cmd_str), "BS%02d%c",
newcat_band_index(freq), cat_term);

if (RIG_OK != (err = newcat_set_cmd(rig)))
{
rig_debug(RIG_DEBUG_ERR, "%s: Unexpected error with BS command#2=%s\n",
Expand Down

0 comments on commit f2b8096

Please sign in to comment.