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
Hamlib-1.1.0
Frank Singleton, VK3FCS 2000-09-29 03:21:05 +00:00
rodzic 49edbb6919
commit 6b46f24ce0
1 zmienionych plików z 15 dodań i 1 usunięć

Wyświetl plik

@ -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];