Fix FTDX3000 and FTDX5000 RF_POWER_METER reading

pull/891/head
Mike Black W9MDB 2021-12-15 16:26:22 -06:00
rodzic db38378412
commit 1a88ae350b
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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);
}
else if (is_ftdx3000 || is_ftdx5000)
{
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM6%c", cat_term);
}
else
{
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM5%c", cat_term);

Wyświetl plik

@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
#define NEWCAT_VER "20211213"
#define NEWCAT_VER "20211215"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129