diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 436b08775..fa278e7f6 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -7228,7 +7228,7 @@ int newcat_send_morse(RIG *rig, vfo_t vfo, const char *msg) { if (strlen(msg2) > 50) { - msg2[50] = 0; // truncate if too long + msg2[51] = 0; // truncate if too long rig_debug(RIG_DEBUG_ERR, "%s: msg length of %d truncated to 50\n", __func__, (int)strlen(msg)); } @@ -11266,6 +11266,10 @@ int newcat_set_cmd_validate(RIG *rig) { strcpy(valcmd, "PC;"); } + else if (strncmp(priv->cmd_str, "AC", 2) == 0) + { + strcpy(valcmd, ""); + } else { rig_debug(RIG_DEBUG_TRACE, "%s: %s not implemented\n", __func__, priv->cmd_str); diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index f3a229035..43ffe73f2 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20231230" +#define NEWCAT_VER "20240113" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129