Add BC2 and NB2 functions for newer kenwoods

Change RIG_SETTING_MAX for 64-bit compatibility
pull/78/head
Michael Black 2019-01-01 12:33:22 -06:00
rodzic 681404e6b7
commit 8b695bcc03
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -762,7 +762,7 @@ enum rig_parm_e {
#define RIG_PARM_SET(l) ((l)&~RIG_PARM_READONLY_LIST)
#define RIG_SETTING_MAX 32
#define RIG_SETTING_MAX 64
/**
* \brief Setting
@ -838,7 +838,7 @@ typedef uint64_t setting_t;
#define RIG_FUNC_DSQL CONSTANT_64BIT_FLAG (33) /*!< \c DSQL -- DCS Squelch setting */
#define RIG_FUNC_AFLT CONSTANT_64BIT_FLAG (34) /*!< \c AFLT -- AF Filter setting */
#define RIG_FUNC_ANL CONSTANT_64BIT_FLAG (35) /*!< \c ANL -- Noise limiter setting */
#define RIG_FUNC_BIT36 CONSTANT_64BIT_FLAG (36) /* available for future RIG_FUNC items */
#define RIG_FUNC_BC2 CONSTANT_64BIT_FLAG (36) /*!< \c BC2 -- 2nd Beat Cancel */
#define RIG_FUNC_BIT37 CONSTANT_64BIT_FLAG (37) /* available for future RIG_FUNC items */
#define RIG_FUNC_BIT38 CONSTANT_64BIT_FLAG (38) /* available for future RIG_FUNC items */
#define RIG_FUNC_BIT39 CONSTANT_64BIT_FLAG (39) /* available for future RIG_FUNC items */

Wyświetl plik

@ -516,9 +516,11 @@ static struct
{ RIG_FUNC_TBURST, "TBURST" },
{ RIG_FUNC_TUNER, "TUNER" },
{ RIG_FUNC_XIT, "XIT" },
{ RIG_FUNC_NB2, "NB2" },
{ RIG_FUNC_DSQL, "DSQL" },
{ RIG_FUNC_AFLT, "AFLT" },
{ RIG_FUNC_ANL, "ANL" },
{ RIG_FUNC_BC2, "BC2" },
{ RIG_FUNC_NONE, "" },
};