From 48aa284152ff5c6e031eecff261bbe9b3d809c01 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Mon, 18 Nov 2024 17:26:10 -0600 Subject: [PATCH] Ensure tuner is off for FTDX101D/MP for 70cm band -- bug in firmware leaves it on which can cause damage --- rigs/yaesu/newcat.c | 7 +++++++ rigs/yaesu/newcat.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 94c306065..8044f532f 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -1011,6 +1011,13 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq) RETURNFUNC(RIG_OK); /* make it look like we changed */ } + if ((is_ftdx101d || is_ftdx101mp) && (freq >= 70000000 && freq <= 70499999)) + { + // ensure the tuner is off for 70cm -- can cause damage to the rig + newcat_set_func(rig, RIG_VFO_A, RIG_FUNC_TUNER, 0); + hl_usleep(100 * 1000); // give it a chance to turn off + } + switch (vfo) { case RIG_VFO_A: diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index dc1e4669d..b41ffe2cd 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20240922" +#define NEWCAT_VER "20241118" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129