From 44a6274bbee830515756183f00ee46ba21529354 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Wed, 27 Sep 2023 09:54:50 -0500 Subject: [PATCH] FT-991A V2-01 firmware randomly adds 13 bytes to IF command so allow for it --- rigs/yaesu/newcat.c | 1 + rigs/yaesu/newcat.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 6fa318b14..ef791f86a 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -10537,6 +10537,7 @@ int newcat_get_vfo_mode(RIG *rig, vfo_t vfo, rmode_t *vfo_mode) { case 27: offset = 21; priv->width_frequency = 8; break; + case 41: // FT-991 V2-01 seems to randomly give 13 extra bytes case 28: offset = 22; priv->width_frequency = 9; break; default: diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index 40a6ca0dd..10d7f8a22 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20230914" +#define NEWCAT_VER "20230927" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129