From df61e2ec7189990bc91d04f92fe1d43d8be3a6fd Mon Sep 17 00:00:00 2001 From: Mikael Nousiainen Date: Fri, 23 Oct 2020 10:06:11 +0300 Subject: [PATCH] Fix COMP func again --- rigs/yaesu/newcat.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 72d481968..c9e55556d 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -4195,14 +4195,7 @@ int newcat_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status) break; case RIG_FUNC_COMP: - if (is_ft1200 || is_ft3000 || is_ft891 || is_ft991 || is_ft101) - { - *status = (retfunc[1] == '1') ? 1 : 0; - } - else - { - *status = (retfunc[0] == '0') ? 0 : 1; - } + *status = (retfunc[0] == '0') ? 0 : 1; break; case RIG_FUNC_MON: