diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index c910ecd16..1f022cc88 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -4647,7 +4647,7 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) } else { - RETURNFUNC(-RIG_EINVAL); + RETURNFUNC(-RIG_ENAVAIL); } break; @@ -4691,7 +4691,7 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) case RIG_LEVEL_TEMP_METER: if (is_ftdx9000) { - snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM11%c", cat_term); + snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM14%c", cat_term); } else if (is_ftdx101d || is_ftdx101mp) { @@ -4699,7 +4699,7 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) } else { - RETURNFUNC(-RIG_EINVAL); + RETURNFUNC(-RIG_ENAVAIL); } break; diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index e71f9ba76..e4c126643 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20210805" +#define NEWCAT_VER "20210919" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129