kopia lustrzana https://github.com/Hamlib/Hamlib
* output VFO list
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@452 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.1
rodzic
b334645b61
commit
e6d4fe4098
|
@ -3,7 +3,7 @@
|
||||||
* This programs dumps the capabilities of a backend rig.
|
* This programs dumps the capabilities of a backend rig.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: dumpcaps.c,v 1.16 2001-03-02 18:43:25 f4cfe Exp $
|
* $Id: dumpcaps.c,v 1.17 2001-04-22 14:47:02 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
|
@ -335,6 +335,15 @@ int main (int argc, char *argv[])
|
||||||
} else
|
} else
|
||||||
printf("none\n");
|
printf("none\n");
|
||||||
|
|
||||||
|
printf("VFO list: ");
|
||||||
|
if (caps->vfo_list!=0) {
|
||||||
|
if (caps->vfo_list&RIG_VFO_A) printf("VFOA ");
|
||||||
|
if (caps->vfo_list&RIG_VFO_B) printf("VFOB ");
|
||||||
|
if (caps->vfo_list&RIG_VFO_C) printf("VFOC ");
|
||||||
|
printf("\n");
|
||||||
|
} else {
|
||||||
|
printf(" none! This backend might be bogus!\n");
|
||||||
|
}
|
||||||
|
|
||||||
printf("Number of channels:\t%d\n", caps->chan_qty);
|
printf("Number of channels:\t%d\n", caps->chan_qty);
|
||||||
printf("Number of banks:\t%d\n", caps->bank_qty);
|
printf("Number of banks:\t%d\n", caps->bank_qty);
|
||||||
|
|
Ładowanie…
Reference in New Issue