kopia lustrzana https://github.com/Hamlib/Hamlib
* added targetable_vfo support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@317 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.1
rodzic
ece8eda70d
commit
a5ec19cb7c
|
@ -3,7 +3,7 @@
|
|||
* This programs dumps the capabilities of a backend rig.
|
||||
*
|
||||
*
|
||||
* $Id: dumpcaps.c,v 1.7 2000-11-28 22:34:37 f4cfe Exp $
|
||||
* $Id: dumpcaps.c,v 1.8 2001-01-05 18:22:40 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -140,9 +140,12 @@ int main (int argc, char *argv[])
|
|||
|
||||
printf("Write delay %dms, timeout %dms, %d retry\n",
|
||||
caps->write_delay,caps->timeout,caps->retry);
|
||||
printf("Post Write delay %dms \n",
|
||||
printf("Post Write delay %dms\n",
|
||||
caps->post_write_delay);
|
||||
|
||||
printf("Has targetable VFO: %s\n",
|
||||
caps->targetable_vfo?"yes":"no");
|
||||
|
||||
|
||||
printf("Functions: ");
|
||||
if (caps->has_func!=0) {
|
||||
|
@ -170,7 +173,7 @@ int main (int argc, char *argv[])
|
|||
|
||||
printf("Tuning steps:\n");
|
||||
for (i=0; i<TSLSTSIZ && caps->tuning_steps[i].ts; i++) {
|
||||
printf("\t%liHz:\t%s\n",caps->tuning_steps[i].ts,
|
||||
printf("\t%8liHz:\t%s\n",caps->tuning_steps[i].ts,
|
||||
decode_modes(caps->tuning_steps[i].modes));
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This program generates the supported rig matrix in HTML format.
|
||||
*
|
||||
*
|
||||
* $Id: rigmatrix.c,v 1.1 2000-11-01 23:25:54 f4cfe Exp $
|
||||
* $Id: rigmatrix.c,v 1.2 2001-01-05 18:22:40 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -146,6 +146,9 @@ int print_caps_caps(const struct rig_caps *caps, void *data)
|
|||
|
||||
#define print_yn(fn) printf("<TD>%c</TD>", (fn) ? 'Y':'N')
|
||||
|
||||
/* targetable_vfo is not a function, but a boolean */
|
||||
print_yn(caps->targetable_vfo);
|
||||
|
||||
print_yn(caps->set_freq);
|
||||
print_yn(caps->get_freq);
|
||||
print_yn(caps->set_mode);
|
||||
|
@ -387,7 +390,8 @@ int main (int argc, char *argv[])
|
|||
printf("<P>");
|
||||
|
||||
printf("<TABLE BORDER=1>\n");
|
||||
printf("<TR><TD>Model</TD><TD>Set freq</TD><TD>Get freq</TD>"
|
||||
printf("<TR><TD>Model</TD><TD>Target VFO</TD>"
|
||||
"<TD>Set freq</TD><TD>Get freq</TD>"
|
||||
"<TD>Set mode</TD><TD>Get mode</TD>"
|
||||
"<TD>Set VFO</TD><TD>Get VFO</TD>"
|
||||
"<TD>Set PTT</TD><TD>Get PTT</TD>"
|
||||
|
|
Ładowanie…
Reference in New Issue