From 6f229d1c1a015e507e6bf912b18a02cd1b776f85 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Mon, 11 Sep 2023 16:17:54 -0500 Subject: [PATCH] Fix FTDX101D/MP to not validate ST command https://github.com/Hamlib/Hamlib/issues/1379 --- rigs/yaesu/newcat.c | 4 +++- rigs/yaesu/newcat.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index ffd22ece4..bf3644cc5 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -11099,9 +11099,11 @@ int newcat_set_cmd(RIG *rig) } // freq set and ptt are now verified in rig.c + // ST command is not validate -- caused problems on FTDX101D if (strncmp(priv->cmd_str, "FA", 2) == 0 || strncmp(priv->cmd_str, "FB", 2) == 0 - || strncmp(priv->cmd_str, "TX", 2) == 0) + || strncmp(priv->cmd_str, "TX", 2) == 0 + || strncmp(priv->cmd_str, "ST", 2) == 0) { RETURNFUNC(RIG_OK); } diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index 059db1785..11f73bf44 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20230907" +#define NEWCAT_VER "20230911" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129