From 6b46f24ce011487bc8edff119592cd49d28c3527 Mon Sep 17 00:00:00 2001 From: "Frank Singleton, VK3FCS" Date: Fri, 29 Sep 2000 03:21:05 +0000 Subject: [PATCH] alternative rig_base declaration removes references to rig_caps at compile time. should populate it another way -- FS git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@161 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- common/rig.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/common/rig.c b/common/rig.c index c6367b39f..831d7c9e5 100644 --- a/common/rig.c +++ b/common/rig.c @@ -40,13 +40,27 @@ * The rig_base is a variable length rig_caps* array, NULL terminated */ +/* + * removed references to xxx_caps for testing. perhaps we should + * + * + */ + + #if 0 static const struct rig_caps *rig_base[] = { &ft747_caps, &ic706_caps, &ic706mkiig_caps, /* ... */ NULL, }; #endif -#define MAXRIGSIZE 10 +/* + * removed references to xxx_caps for testing. perhaps we should use + * the declaration below, an dthnk about populating it another way -- FS + * + */ + + +#define MAXRIGSIZE 10 /* put this in .h later */ static const struct rig_caps *rig_base[MAXRIGSIZE];