Skip to content

Commit

Permalink
Fix hamlib_version in netrigctl_open and blank agc_levels from FLRig
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Mar 31, 2024
1 parent a4cd6de commit 41de342
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions rigs/dummy/netrigctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,11 @@ static int netrigctl_open(RIG *rig)
p = strtok(NULL, ";");
}
}
else if (strcmp(setting, "hamlib_version") == 0)
{
printf("rigctld: %s\n", value);
}


else
{
Expand Down
2 changes: 1 addition & 1 deletion tests/rigctl_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -4705,7 +4705,7 @@ declare_proto_rig(dump_state)
fprintf(fout, "rig_model=%d\n", rig->caps->rig_model);
fprintf(fout, "rigctld_version=%s\n", hamlib_version2);
rig_sprintf_agc_levels(rig, buf, sizeof(buf));
fprintf(fout, "agc_levels=%s\n", buf);
if (strlen(buf) > 0) fprintf(fout, "agc_levels=%s\n", buf);

if (rig->caps->ctcss_list)
{
Expand Down

0 comments on commit 41de342

Please sign in to comment.