Fix RTS PTT working with rigctld

https://github.com/Hamlib/Hamlib/issues/1074
Was fixed by this patch
fc6e432143
pull/1077/head
Mike Black W9MDB 2022-07-06 08:33:14 -05:00
rodzic 6019873b66
commit 994d7a2ca6
1 zmienionych plików z 1 dodań i 6 usunięć

Wyświetl plik

@ -704,10 +704,6 @@ static int netrigctl_open(RIG *rig)
} }
} }
// setting targetable_vfo this way breaks WSJTX in rig split with rigctld
// Ends up putting VFOB freq on VFOA
// Have to figure out why but disabling this fixes it for now
#if 0
else if (strcmp(setting, "targetable_vfo") == 0) else if (strcmp(setting, "targetable_vfo") == 0)
{ {
rig->caps->targetable_vfo = strtol(value, NULL, 0); rig->caps->targetable_vfo = strtol(value, NULL, 0);
@ -715,7 +711,6 @@ static int netrigctl_open(RIG *rig)
rig->caps->targetable_vfo); rig->caps->targetable_vfo);
} }
#endif
else if (strcmp(setting, "has_set_vfo") == 0) else if (strcmp(setting, "has_set_vfo") == 0)
{ {
int has = strtol(value, NULL, 0); int has = strtol(value, NULL, 0);
@ -2690,7 +2685,7 @@ struct rig_caps netrigctl_caps =
RIG_MODEL(RIG_MODEL_NETRIGCTL), RIG_MODEL(RIG_MODEL_NETRIGCTL),
.model_name = "NET rigctl", .model_name = "NET rigctl",
.mfg_name = "Hamlib", .mfg_name = "Hamlib",
.version = "20220612.0", .version = "20220706.0",
.copyright = "LGPL", .copyright = "LGPL",
.status = RIG_STATUS_STABLE, .status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_OTHER, .rig_type = RIG_TYPE_OTHER,