mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
Fix compile warnings in ft2000.c for MacOS
This commit is contained in:
parent
83109ba438
commit
150bfa5a25
@ -156,7 +156,15 @@ struct rig_caps ft2000_caps =
|
||||
.has_get_parm = RIG_PARM_BANDSELECT,
|
||||
.has_set_parm = RIG_PARM_BANDSELECT,
|
||||
.level_gran = {
|
||||
#define NO_LVL_CWPITCH
|
||||
#define NO_LVL_NOTCHF
|
||||
#define NO_LVL_COMP
|
||||
#define NO_LVL_VOXGAIN
|
||||
#include "level_gran_yaesu.h"
|
||||
#undef NO_LVL_CWPITCH
|
||||
#undef NO_LVL_NOTCHF
|
||||
#undef NO_LVL_COMP
|
||||
#undef NO_LVL_VOXGAIN
|
||||
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 1050 }, .step = { .i = 50 } },
|
||||
[LVL_NOTCHF] = { .min = { .i = 1 }, .max = { .i = 4000 }, .step = { .i = 10 } },
|
||||
[LVL_COMP] = { .min = { .f = 0 }, .max = { .f = 1.0 }, .step = { .f = 1.0f / 255.0f } },
|
||||
|
Loading…
Reference in New Issue
Block a user