From a0829063d8cd4f638ee726b7ce81d2db5100322d Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Sun, 6 Dec 2020 08:41:37 -0600 Subject: [PATCH] Fix ft891 set_mode https://github.com/Hamlib/Hamlib/issues/455 --- rigs/yaesu/ft891.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rigs/yaesu/ft891.c b/rigs/yaesu/ft891.c index f33e2652f..d2131d849 100644 --- a/rigs/yaesu/ft891.c +++ b/rigs/yaesu/ft891.c @@ -50,7 +50,7 @@ const struct rig_caps ft891_caps = RIG_MODEL(RIG_MODEL_FT891), .model_name = "FT-891", .mfg_name = "Yaesu", - .version = NEWCAT_VER ".0", + .version = NEWCAT_VER ".1", .copyright = "LGPL", .status = RIG_STATUS_STABLE, .rig_type = RIG_TYPE_TRANSCEIVER, @@ -507,7 +507,7 @@ int ft891_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) // Copy A to B snprintf(priv->cmd_str, sizeof(priv->cmd_str), "AB;"); - if (RIG_OK != (err = newcat_get_cmd(rig))) + if (RIG_OK != (err = newcat_set_cmd(rig))) { return err; }