kopia lustrzana https://github.com/Hamlib/Hamlib
Fix headers for compability with swig 4.3.0
https://github.com/Hamlib/Hamlib/issues/1669pull/1688/head
rodzic
1049dc2457
commit
ad20668c75
|
@ -32,7 +32,7 @@
|
|||
// With a max of 1000 models per backend we get total a model number range of 1001-33001
|
||||
// This MAX was 100 prior to 2020-02-18 and Icom was close to running out of the 100 range
|
||||
#define MAX_MODELS_PER_BACKEND 1000
|
||||
#define RIG_MAKE_MODEL(a,b) ((a)*MAX_MODELS_PER_BACKEND+(b))
|
||||
#define RIG_MAKE_MODEL(a,b) (MAX_MODELS_PER_BACKEND*(a)+(b))
|
||||
#define RIG_BACKEND_NUM(a) ((a)/MAX_MODELS_PER_BACKEND)
|
||||
|
||||
//! @endcond
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#define _ROTLIST_H 1
|
||||
|
||||
//! @cond Doxygen_Suppress
|
||||
#define ROT_MAKE_MODEL(a,b) ((a)*100+(b))
|
||||
#define ROT_MAKE_MODEL(a,b) (100*(a)+(b))
|
||||
#define ROT_BACKEND_NUM(a) ((a)/100)
|
||||
//! @endcond
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue