Fix compile warnings in pihpsdr.c for MacOS

This commit is contained in:
Mike Black W9MDB 2024-09-10 22:51:21 -05:00
parent e50dd7bcde
commit 32f5f97a5f

View File

@ -248,7 +248,15 @@ struct rig_caps pihpsdr_caps =
.level_gran =
{
#define NO_LVL_VOXDELAY
#define NO_LVL_KEYSPD
#define NO_LVL_CWPITXCH
#define NO_LVL_BKIN_DLYMS
#include "level_gran_kenwood.h"
#undef NO_LVL_VOXDELAY
#undef NO_LVL_KEYSPD
#undef NO_LVL_CWPITXCH
#undef NO_LVL_BKIN_DLYMS
[LVL_VOXDELAY] = { .min = { .i = 0 }, .max = { .i = 30 }, .step = { .i = 1 } },
[LVL_KEYSPD] = {.min = {.i = 5}, .max = {.i = 50}, .step = {.i = 1}},
[LVL_CWPITCH] = {.min = {.i = 400}, .max = {.i = 1000}, .step = {.i = 50}},