mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-22 02:47:21 +00:00
Round 3 of level_gran updates.
This commit is contained in:
parent
1c08cd7a64
commit
05f04730d7
@ -575,6 +575,7 @@ const struct rig_caps ic7300_caps =
|
|||||||
.has_get_parm = IC7300_PARMS,
|
.has_get_parm = IC7300_PARMS,
|
||||||
.has_set_parm = RIG_PARM_SET(IC7300_PARMS),
|
.has_set_parm = RIG_PARM_SET(IC7300_PARMS),
|
||||||
.level_gran = {
|
.level_gran = {
|
||||||
|
#include "level_gran_icom.h"
|
||||||
// cppcheck-suppress *
|
// cppcheck-suppress *
|
||||||
[LVL_RAWSTR] = {.min = {.i = 0}, .max = {.i = 255}},
|
[LVL_RAWSTR] = {.min = {.i = 0}, .max = {.i = 255}},
|
||||||
[LVL_VOXDELAY] = {.min = {.i = 0}, .max = {.i = 20}, .step = {.i = 1}},
|
[LVL_VOXDELAY] = {.min = {.i = 0}, .max = {.i = 20}, .step = {.i = 1}},
|
||||||
@ -811,6 +812,7 @@ struct rig_caps ic9700_caps =
|
|||||||
.has_get_parm = IC9700_PARMS,
|
.has_get_parm = IC9700_PARMS,
|
||||||
.has_set_parm = RIG_PARM_SET(IC9700_PARMS),
|
.has_set_parm = RIG_PARM_SET(IC9700_PARMS),
|
||||||
.level_gran = {
|
.level_gran = {
|
||||||
|
#include "level_gran_icom.h"
|
||||||
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
||||||
[LVL_VOXDELAY] = { .min = { .i = 0 }, .max = { .i = 20 }, .step = { .i = 1 } },
|
[LVL_VOXDELAY] = { .min = { .i = 0 }, .max = { .i = 20 }, .step = { .i = 1 } },
|
||||||
[LVL_KEYSPD] = {.min = {.i = 6}, .max = {.i = 48}, .step = {.i = 1}},
|
[LVL_KEYSPD] = {.min = {.i = 6}, .max = {.i = 48}, .step = {.i = 1}},
|
||||||
@ -1123,6 +1125,7 @@ const struct rig_caps ic705_caps =
|
|||||||
.has_get_parm = IC7300_PARMS,
|
.has_get_parm = IC7300_PARMS,
|
||||||
.has_set_parm = RIG_PARM_SET(IC7300_PARMS),
|
.has_set_parm = RIG_PARM_SET(IC7300_PARMS),
|
||||||
.level_gran = {
|
.level_gran = {
|
||||||
|
#include "level_gran_icom.h"
|
||||||
[LVL_RAWSTR] = {.min = {.i = 0}, .max = {.i = 255}},
|
[LVL_RAWSTR] = {.min = {.i = 0}, .max = {.i = 255}},
|
||||||
[LVL_VOXDELAY] = {.min = {.i = 0}, .max = {.i = 20}, .step = {.i = 1}},
|
[LVL_VOXDELAY] = {.min = {.i = 0}, .max = {.i = 20}, .step = {.i = 1}},
|
||||||
[LVL_KEYSPD] = {.min = {.i = 6}, .max = {.i = 48}, .step = {.i = 1}},
|
[LVL_KEYSPD] = {.min = {.i = 6}, .max = {.i = 48}, .step = {.i = 1}},
|
||||||
|
@ -16,8 +16,8 @@ LVL_KEYSPD
|
|||||||
/* raw data */
|
/* raw data */
|
||||||
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
||||||
/* levels with dB units */
|
/* levels with dB units */
|
||||||
[LVL_PREAMP] = { .min = { .i = 10 }, .max = { .i = 20 }, .step = { .i = 10 } },
|
[LVL_PREAMP] = { .min = { .i = 0 }, .max = { .i = 20 }, .step = { .i = 10 } },
|
||||||
[LVL_ATT] = { .min = { .i = 12 }, .max = { .i = 12 }, .step = { .i = 0 } },
|
[LVL_ATT] = { .min = { .i = 0 }, .max = { .i = 12 }, .step = { .i = 0 } },
|
||||||
[LVL_STRENGTH] = { .min = { .i = 0 }, .max = { .i = 60 }, .step = { .i = 0 } },
|
[LVL_STRENGTH] = { .min = { .i = 0 }, .max = { .i = 60 }, .step = { .i = 0 } },
|
||||||
[LVL_NB] = { .min = { .f = 0 }, .max = { .f = 10 }, .step = { .f = 1 } },
|
[LVL_NB] = { .min = { .f = 0 }, .max = { .f = 10 }, .step = { .f = 1 } },
|
||||||
/* levels with WPM units */
|
/* levels with WPM units */
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/* raw data */
|
/* raw data */
|
||||||
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
||||||
/* levels with dB units */
|
/* levels with dB units */
|
||||||
[LVL_PREAMP] = { .min = { .i = 10 }, .max = { .i = 20 }, .step = { .i = 10 } },
|
[LVL_PREAMP] = { .min = { .i = 0 }, .max = { .i = 20 }, .step = { .i = 10 } },
|
||||||
[LVL_ATT] = { .min = { .i = 0 }, .max = { .i = 12 }, .step = { .i = 0 } },
|
[LVL_ATT] = { .min = { .i = 0 }, .max = { .i = 12 }, .step = { .i = 0 } },
|
||||||
[LVL_STRENGTH] = { .min = { .i = 0 }, .max = { .i = 60 }, .step = { .i = 0 } },
|
[LVL_STRENGTH] = { .min = { .i = 0 }, .max = { .i = 60 }, .step = { .i = 0 } },
|
||||||
/* levels with WPM units */
|
/* levels with WPM units */
|
||||||
|
@ -97,6 +97,7 @@ const struct rig_caps ftdx101mp_caps =
|
|||||||
.has_get_parm = RIG_PARM_NONE,
|
.has_get_parm = RIG_PARM_NONE,
|
||||||
.has_set_parm = RIG_PARM_NONE,
|
.has_set_parm = RIG_PARM_NONE,
|
||||||
.level_gran = {
|
.level_gran = {
|
||||||
|
#include "level_gran_yaesu.h"
|
||||||
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
||||||
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 1050 }, .step = { .i = 10 } },
|
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 1050 }, .step = { .i = 10 } },
|
||||||
[LVL_KEYSPD] = { .min = { .i = 4 }, .max = { .i = 60 }, .step = { .i = 1 } },
|
[LVL_KEYSPD] = { .min = { .i = 4 }, .max = { .i = 60 }, .step = { .i = 1 } },
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
/* raw data */
|
/* raw data */
|
||||||
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
|
||||||
/* levels with dB units */
|
/* levels with dB units */
|
||||||
[LVL_PREAMP] = { .min = { .i = 10 }, .max = { .i = 20 }, .step = { .i = 10 } },
|
[LVL_PREAMP] = { .min = { .i = 0 }, .max = { .i = 20 }, .step = { .i = 10 } },
|
||||||
[LVL_ATT] = { .min = { .i = 12 }, .max = { .i = 12 }, .step = { .i = 0 } },
|
[LVL_ATT] = { .min = { .i = 0 }, .max = { .i = 12 }, .step = { .i = 0 } },
|
||||||
[LVL_STRENGTH] = { .min = { .i = 0 }, .max = { .i = 60 }, .step = { .i = 0 } },
|
[LVL_STRENGTH] = { .min = { .i = 0 }, .max = { .i = 60 }, .step = { .i = 0 } },
|
||||||
[LVL_NB] = { .min = { .f = 0 }, .max = { .f = 10 }, .step = { .f = 1 } },
|
[LVL_NB] = { .min = { .f = 0 }, .max = { .f = 10 }, .step = { .f = 1 } },
|
||||||
/* levels with WPM units */
|
/* levels with WPM units */
|
||||||
[LVL_KEYSPD] = { .min = { .i = 4 }, .max = { .i = 60 }, .step = { .i = 1 } },
|
[LVL_KEYSPD] = { .min = { .i = 4 }, .max = { .i = 60 }, .step = { .i = 1 } },
|
||||||
/* levels with Hz units */
|
/* levels with Hz units */
|
||||||
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 1050 }, .step = { .i = 50 } },
|
[LVL_CWPITCH] = { .min = { .i = 300 }, .max = { .i = 1050 }, .step = { .i = 10 } },
|
||||||
[LVL_IF] = { .min = { .i = -1200 }, .max = { .i = 1200 }, .step = { .i = 20 } },
|
[LVL_IF] = { .min = { .i = -1200 }, .max = { .i = 1200 }, .step = { .i = 20 } },
|
||||||
[LVL_NOTCHF] = { .min = { .i = 1 }, .max = { .i = 3200 }, .step = { .i = 10 } },
|
[LVL_NOTCHF] = { .min = { .i = 1 }, .max = { .i = 3200 }, .step = { .i = 10 } },
|
||||||
/* levels with time units */
|
/* levels with time units */
|
||||||
|
Loading…
Reference in New Issue
Block a user