From 6ad344034107374485ee043e9695b5d304e045f3 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Thu, 28 Apr 2022 09:54:20 -0500 Subject: [PATCH] Fix TEMP_METER level in newcat.c --- rigs/yaesu/newcat.c | 4 ++++ rigs/yaesu/newcat.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index fceb51fc5..2b1821625 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -5500,6 +5500,10 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) val->f = (float)(atoi(retlvl) / 10.); break; + case RIG_LEVEL_TEMP_METER: + val->f = (float)(atoi(retlvl) / 255.); + break; + default: RETURNFUNC(-RIG_EINVAL); } diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index bcff8c6cd..190f30958 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20220408" +#define NEWCAT_VER "20220428" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129