From 132a5612f4064caecce0e133ff56f573f0783ed1 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Fri, 19 Feb 2021 09:33:12 -0600 Subject: [PATCH] Fix ts480 get_level for LEVEL_AF https://github.com/Hamlib/Hamlib/issues/new --- rigs/kenwood/ts480.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rigs/kenwood/ts480.c b/rigs/kenwood/ts480.c index 0f6a97ac7..54044bce3 100644 --- a/rigs/kenwood/ts480.c +++ b/rigs/kenwood/ts480.c @@ -114,6 +114,7 @@ kenwood_ts480_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) return kenwood_set_level(rig, vfo, level, val); case RIG_LEVEL_AF: + priv->ag_format =22; return kenwood_set_level(rig, vfo, level, val); case RIG_LEVEL_RF: @@ -447,7 +448,7 @@ const struct rig_caps ts480_caps = RIG_MODEL(RIG_MODEL_TS480), .model_name = "TS-480", .mfg_name = "Kenwood", - .version = BACKEND_VER ".0", + .version = BACKEND_VER ".1", .copyright = "LGPL", .status = RIG_STATUS_STABLE, .rig_type = RIG_TYPE_TRANSCEIVER,