kopia lustrzana https://github.com/Hamlib/Hamlib
Fix warnings in icr75.c for MacOS
rodzic
ecadc46ca2
commit
be9f3e7a62
|
@ -133,10 +133,16 @@ struct rig_caps icr75_caps =
|
|||
.has_set_parm = RIG_PARM_SET(ICR75_PARM_ALL),
|
||||
.level_gran =
|
||||
{
|
||||
#define NO_LVL_PBT_IN
|
||||
#define NO_LVL_PBT_OUT
|
||||
#define NO_LVL_CWPITCH
|
||||
#include "level_gran_icom.h"
|
||||
[LVL_PBT_IN] = { .min = { .f = -1280 }, .max = { .f = +1280 }, .step = { .f = 15 } },
|
||||
[LVL_PBT_OUT] = { .min = { .f = -1280 }, .max = { .f = +1280 }, .step = { .f = 15 } },
|
||||
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 900 }, .step = { .i = 10 } },
|
||||
#undef NO_LVL_PBT_IN
|
||||
#undef NO_LVL_PBT_OUT
|
||||
#undef NO_LVL_CWPITCH
|
||||
},
|
||||
.parm_gran = {
|
||||
[PARM_APO] = { .min = { .i = 1 }, .max = { .i = 1439} },
|
||||
|
|
|
@ -56,6 +56,10 @@ LVL_KEYSPD
|
|||
[LVL_ANTIVOX] = { .min = { .f = .0 }, .max = { .f = 1 }, .step = { .f = 1.0f/255.0f } },
|
||||
[LVL_ALC] = { .min = { .f = .0 }, .max = { .f = 1 }, .step = { .f = 1.0f/120.0f } },
|
||||
[LVL_USB_AF] = { .min = { .f = .0 }, .max = { .f = 1 }, .step = { .f = 1.0f/255.0f } },
|
||||
#if !defined(NO_LVL_PBT_IN)
|
||||
[LVL_PBT_IN] = { .min = { .f = .0 }, .max = { .f = 1 }, .step = { .f = 1.0f/255.0f } },
|
||||
#endif
|
||||
#if !defined(NO_LVL_PBT_OUT)
|
||||
[LVL_PBT_OUT] = { .min = { .f = .0 }, .max = { .f = 1 }, .step = { .f = 1.0f/255.0f } },
|
||||
#endif
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue