From e6d4fe40982d04a576f2d60448120396c3dcc183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sun, 22 Apr 2001 14:47:02 +0000 Subject: [PATCH] * output VFO list git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@452 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- tests/dumpcaps.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/dumpcaps.c b/tests/dumpcaps.c index 730aeb251..f9f659b52 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.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 @@ -335,6 +335,15 @@ int main (int argc, char *argv[]) } else 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 banks:\t%d\n", caps->bank_qty);