kopia lustrzana https://github.com/Hamlib/Hamlib
Fix compile warnings in ftdx101mp.c for MacOS
rodzic
0f4066bcdf
commit
92a35118cb
|
@ -100,7 +100,19 @@ struct rig_caps ftdx101mp_caps =
|
|||
.has_get_parm = RIG_PARM_BANDSELECT,
|
||||
.has_set_parm = RIG_PARM_BANDSELECT,
|
||||
.level_gran = {
|
||||
#define NO_LVL_MICGAIN
|
||||
#define NO_LVL_SQL
|
||||
#define NO_LVL_MONITOR_GAIN
|
||||
#define NO_LVL_RFPOWER
|
||||
#define NO_LVL_USB_AF
|
||||
#define NO_LVL_USB_AF_INPUT
|
||||
#include "level_gran_yaesu.h"
|
||||
#undef NO_LVL_MICGAIN
|
||||
#undef NO_LVL_SQL
|
||||
#undef NO_LVL_MONITOR_GAIN
|
||||
#undef NO_LVL_RFPOWER
|
||||
#undef NO_LVL_USB_AF
|
||||
#undef NO_LVL_USB_AF_INPUT
|
||||
[LVL_MICGAIN] = { .min = { .f = 0 }, .max = { .f = 1.0 }, .step = { .f = 1.0f / 100.0f } },
|
||||
[LVL_SQL] = { .min = { .f = 0 }, .max = { .f = 1.0 }, .step = { .f = 1.0f / 100.0f } },
|
||||
[LVL_MONITOR_GAIN] = { .min = { .f = 0 }, .max = { .f = 1.0 }, .step = { .f = 1.0f / 100.0f } },
|
||||
|
|
Ładowanie…
Reference in New Issue