kopia lustrzana https://github.com/Hamlib/Hamlib
Add rig_model and rigctld_version to dump_caps in rigctl_parse.c
rodzic
26bfaa37ea
commit
4fa2d68477
|
@ -768,6 +768,14 @@ static int netrigctl_open(RIG *rig)
|
|||
rig_debug(RIG_DEBUG_TRACE, "%s: timeout value = '%s', final timeout=%d\n",
|
||||
__func__, value, rig->caps->timeout);
|
||||
}
|
||||
else if (strcmp(setting, "rig_model") == 0)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: rig_model=%s\n", __func__, value);
|
||||
}
|
||||
else if (strcmp(setting, "rigctld_version") == 0)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: rigctld_version=%s\n", __func__, value);
|
||||
}
|
||||
else if (strcmp(setting, "ctcss_list") == 0)
|
||||
{
|
||||
int n;
|
||||
|
|
|
@ -4557,6 +4557,8 @@ declare_proto_rig(dump_state)
|
|||
fprintf(fout, "has_power2mW=%d\n", rig->caps->power2mW != NULL);
|
||||
fprintf(fout, "has_mW2power=%d\n", rig->caps->mW2power != NULL);
|
||||
fprintf(fout, "timeout=%d\n", rig->caps->timeout);
|
||||
fprintf(fout, "rig_model=%d\n", rig->caps->rig_model);
|
||||
fprintf(fout, "rigctld_version=%s\n", hamlib_version2);
|
||||
|
||||
if (rig->caps->ctcss_list)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue