kopia lustrzana https://github.com/Hamlib/Hamlib
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-79ac388436b8Hamlib-1.1.0
rodzic
49edbb6919
commit
6b46f24ce0
16
common/rig.c
16
common/rig.c
|
@ -40,13 +40,27 @@
|
||||||
* The rig_base is a variable length rig_caps* array, NULL terminated
|
* The rig_base is a variable length rig_caps* array, NULL terminated
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* removed references to xxx_caps for testing. perhaps we should
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
static const struct rig_caps *rig_base[] = {
|
static const struct rig_caps *rig_base[] = {
|
||||||
&ft747_caps, &ic706_caps, &ic706mkiig_caps, /* ... */ NULL, };
|
&ft747_caps, &ic706_caps, &ic706mkiig_caps, /* ... */ NULL, };
|
||||||
|
|
||||||
#endif
|
#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];
|
static const struct rig_caps *rig_base[MAXRIGSIZE];
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue