From 7f6ce7a1906b61ec9abeddacfe6fc263bee7f752 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Thu, 25 Feb 2021 11:19:37 -0600 Subject: [PATCH] Fix PowerSDR get_level AF in flex6xxx.c https://github.com/Hamlib/Hamlib/issues/562 --- rigs/kenwood/flex6xxx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rigs/kenwood/flex6xxx.c b/rigs/kenwood/flex6xxx.c index f6ebb3847..001480b4a 100644 --- a/rigs/kenwood/flex6xxx.c +++ b/rigs/kenwood/flex6xxx.c @@ -876,6 +876,10 @@ int powersdr_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) case RIG_LEVEL_AF: + n = sscanf(lvlbuf,"ZZAG%f", &val->f); + val->f /= 100.0; + break; + case RIG_LEVEL_RFPOWER_METER: case RIG_LEVEL_RFPOWER_METER_WATTS: n = sscanf(lvlbuf, "ZZRM5%f", &val->f);