[Hamlib-cvs-digest] CVS: hamlib/tests dumpcaps.c,1.7,1.8 rigmatrix.c,1.1,1.2
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Stephane F. <f4...@us...> - 2001-01-05 18:22:36
|
Update of /cvsroot/hamlib/hamlib/tests In directory usw-pr-cvs1:/tmp/cvs-serv1854 Modified Files: dumpcaps.c rigmatrix.c Log Message: * added targetable_vfo support Index: dumpcaps.c =================================================================== RCS file: /cvsroot/hamlib/hamlib/tests/dumpcaps.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** dumpcaps.c 2000/11/28 22:34:37 1.7 --- dumpcaps.c 2001/01/05 18:22:40 1.8 *************** *** 141,148 **** printf("Write delay %dms, timeout %dms, %d retry\n", caps->write_delay,caps->timeout,caps->retry); ! printf("Post Write delay %dms \n", caps->post_write_delay); printf("Functions: "); if (caps->has_func!=0) { --- 141,151 ---- printf("Write delay %dms, timeout %dms, %d retry\n", caps->write_delay,caps->timeout,caps->retry); ! 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) { *************** *** 171,175 **** 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, decode_modes(caps->tuning_steps[i].modes)); } --- 174,178 ---- printf("Tuning steps:\n"); for (i=0; i<TSLSTSIZ && caps->tuning_steps[i].ts; i++) { ! printf("\t%8liHz:\t%s\n",caps->tuning_steps[i].ts, decode_modes(caps->tuning_steps[i].modes)); } Index: rigmatrix.c =================================================================== RCS file: /cvsroot/hamlib/hamlib/tests/rigmatrix.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** rigmatrix.c 2000/11/01 23:25:54 1.1 --- rigmatrix.c 2001/01/05 18:22:40 1.2 *************** *** 147,150 **** --- 147,153 ---- #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); *************** *** 388,392 **** printf("<TABLE BORDER=1>\n"); ! printf("<TR><TD>Model</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>" --- 391,396 ---- printf("<TABLE BORDER=1>\n"); ! 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>" |