Fix IC756 warnings for MacOS

pull/1610/head
Mike Black W9MDB 2024-09-10 17:29:43 -05:00
rodzic 853a0a2822
commit ecadc46ca2
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -329,7 +329,11 @@ struct rig_caps ic756pro_caps =
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran =
{
#define NO_LVL_KEYSPD
#define NO_LVL_CWPITCH
#include "level_gran_icom.h"
#undef NO_LVL_KEYSPD
#undef NO_LVL_CWPITCH
[LVL_KEYSPD] = { .min = { .i = 6 }, .max = { .i = 48 }, .step = { .i = 1 } },
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 900 }, .step = { .i = 1 } },
},
@ -570,7 +574,11 @@ struct rig_caps ic756pro2_caps =
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran =
{
#define NO_LVL_KEYSPD
#define NO_LVL_CWPITCH
#include "level_gran_icom.h"
#undef NO_LVL_KEYSPD
#undef NO_LVL_CWPITCH
[LVL_KEYSPD] = { .min = { .i = 6 }, .max = { .i = 48 }, .step = { .i = 1 } },
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 900 }, .step = { .i = 1 } },
},
@ -1005,7 +1013,11 @@ struct rig_caps ic756pro3_caps =
.has_set_parm = RIG_PARM_SET(IC756PROII_PARMS),
.level_gran =
{
#define NO_LVL_KEYSPD
#define NO_LVL_CWPITCH
#include "level_gran_icom.h"
#undef NO_LVL_KEYSPD
#undef NO_LVL_CWPITCH
[LVL_KEYSPD] = { .min = { .i = 6 }, .max = { .i = 48 }, .step = { .i = 1 } },
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 900 }, .step = { .i = 1 } },
},