kopia lustrzana https://github.com/Hamlib/Hamlib
Fix parsing of targetable_vfo in netrigctl.c
rodzic
b696391a66
commit
36fbb26655
|
@ -584,9 +584,8 @@ static int netrigctl_open(RIG *rig)
|
|||
}
|
||||
else if (strcmp(setting, "targetable_vfo") == 0)
|
||||
{
|
||||
int has = strtol(value, NULL, 0);
|
||||
|
||||
if (!has) { rig->caps->targetable_vfo = strtol(value, NULL, 0); }
|
||||
rig->caps->targetable_vfo = strtol(value, NULL, 0);
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: targetable_vfo=0x%2x\n", __func__, rig->caps->targetable_vfo);
|
||||
}
|
||||
else if (strcmp(setting, "has_set_vfo") == 0)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue