Hopefully fixes FTDX101D/MP RFPOWER_METER_WATTS whether in split mode or not

https://github.com/Hamlib/Hamlib/issues/585
https://github.com/Hamlib/Hamlib/issues/579
pull/588/head
Michael Black W9MDB 2021-03-05 07:53:09 -06:00
rodzic 2c20b0afdb
commit 43569822a1
2 zmienionych plików z 1 dodań i 6 usunięć

Wyświetl plik

@ -4548,11 +4548,6 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
{
// separate meters for Main and Sub
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM0%c", cat_term);
if (rig->state.cache.split)
{
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RM1%c", cat_term);
}
}
else
{

Wyświetl plik

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