kopia lustrzana https://github.com/Hamlib/Hamlib
Fix FTDX3000 and FTDX5000 RF_POWER_METER reading
rodzic
db38378412
commit
1a88ae350b
|
@ -4608,6 +4608,10 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
||||||
{
|
{
|
||||||
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM08%c", cat_term);
|
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM08%c", cat_term);
|
||||||
}
|
}
|
||||||
|
else if (is_ftdx3000 || is_ftdx5000)
|
||||||
|
{
|
||||||
|
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM6%c", cat_term);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM5%c", cat_term);
|
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM5%c", cat_term);
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20211213"
|
#define NEWCAT_VER "20211215"
|
||||||
|
|
||||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||||
#define NEWCAT_DATA_LEN 129
|
#define NEWCAT_DATA_LEN 129
|
||||||
|
|
Ładowanie…
Reference in New Issue