kopia lustrzana https://github.com/Hamlib/Hamlib
Fix output format of rigctl_parse.c for non-interactive clients
Add ARG_NOVFO to get_vfo_infopull/1042/head
rodzic
fa9adb0c85
commit
f44fe0ed31
|
@ -348,7 +348,7 @@ static struct test_table test_list[] =
|
|||
{ 0x8f, "dump_state", ACTION(dump_state), ARG_OUT | ARG_NOVFO },
|
||||
{ 0xf0, "chk_vfo", ACTION(chk_vfo), ARG_NOVFO, "ChkVFO" }, /* rigctld only--check for VFO mode */
|
||||
{ 0xf2, "set_vfo_opt", ACTION(set_vfo_opt), ARG_NOVFO | ARG_IN, "Status" }, /* turn vfo option on/off */
|
||||
{ 0xf3, "get_vfo_info", ACTION(get_vfo_info), ARG_IN1 | ARG_OUT5, "VFO", "Freq", "Mode", "Width", "Split", "SatMode" }, /* get several vfo parameters at once */
|
||||
{ 0xf3, "get_vfo_info", ACTION(get_vfo_info), ARG_IN1 | ARG_NOVFO | ARG_OUT5, "VFO", "Freq", "Mode", "Width", "Split", "SatMode" }, /* get several vfo parameters at once */
|
||||
{ 0xf5, "get_rig_info", ACTION(get_rig_info), ARG_NOVFO | ARG_OUT, "RigInfo" }, /* get several vfo parameters at once */
|
||||
{ 0xf4, "get_vfo_list", ACTION(get_vfo_list), ARG_OUT | ARG_NOVFO, "VFOs" },
|
||||
{ 0xf6, "get_modes", ACTION(get_modes), ARG_OUT | ARG_NOVFO, "Modes" },
|
||||
|
@ -2332,7 +2332,8 @@ declare_proto_rig(get_vfo_info)
|
|||
}
|
||||
else
|
||||
{
|
||||
fprintf(fout, "%.0f\n%s\n%d\n", freq, modestr, (int)width);
|
||||
fprintf(fout, "%.0f\n%s\n%d\n%d\n%d\n", freq, modestr, (int)width, (int)split,
|
||||
(int)satmode);
|
||||
}
|
||||
|
||||
ELAPSED2;
|
||||
|
|
Ładowanie…
Reference in New Issue