diff --git a/tests/dumpcaps.c b/tests/dumpcaps.c index 77386dd74..eb6d91ca6 100644 --- a/tests/dumpcaps.c +++ b/tests/dumpcaps.c @@ -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; ituning_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)); } diff --git a/tests/rigmatrix.c b/tests/rigmatrix.c index 576ad393b..e2683e665 100644 --- a/tests/rigmatrix.c +++ b/tests/rigmatrix.c @@ -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("%c", (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("

"); printf("\n"); - printf("" + printf("" + "" "" "" ""
ModelSet freqGet freq
ModelTarget VFOSet freqGet freqSet modeGet modeSet VFOGet VFOSet PTTGet PTT