From 24775b40fe0341dbb595a39f670a393e1006aa5f Mon Sep 17 00:00:00 2001 From: Mikael Nousiainen Date: Sun, 25 Oct 2020 22:17:06 +0200 Subject: [PATCH] Fix roofing filter command format --- rigs/yaesu/newcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index f855b9ee8..593176710 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -6295,7 +6295,7 @@ static int set_roofing_filter(RIG *rig, vfo_t vfo, int index) return -RIG_EINVAL; } - snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RF%c%1d%c", main_sub_vfo, roofing_filter_choice, cat_term); + snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RF%c%c%c", main_sub_vfo, roofing_filter_choice, cat_term); if (RIG_OK != (err = newcat_set_cmd(rig))) {