diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index b1336f6ea..893ba7681 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -9439,9 +9439,9 @@ int newcat_set_cmd_validate(RIG *rig) if (strcmp(priv->cmd_str, priv->ret_data)==0) return RIG_OK; else rc = -RIG_EPROTO; } - rig_debug(RIG_DEBUG_ERR, "%s: cmd validation failed, try#%d\n", __func__, retry); + rig_debug(RIG_DEBUG_ERR, "%s: cmd validation failed, '%s'!='%s', try#%d\n", __func__, priv->cmd_str, priv->ret_data, retry); hl_usleep(sleepms*1000); - } while(--retry > 0); + } return -RIG_EPROTO; } /* diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index 3ad84a0d0..3033e920c 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20210114" +#define NEWCAT_VER "20210115" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129