kopia lustrzana https://github.com/Hamlib/Hamlib
Add SCREENSAVER parm...implemented for 9700 for now
rodzic
81ea1efba2
commit
f4c1143959
|
@ -804,7 +804,8 @@ enum rig_parm_e {
|
|||
RIG_PARM_BEEP = (1 << 4), /*!< \c BEEP -- Beep on keypressed, int (0,1) */
|
||||
RIG_PARM_TIME = (1 << 5), /*!< \c TIME -- hh:mm:ss, int in seconds from 00:00:00 */
|
||||
RIG_PARM_BAT = (1 << 6), /*!< \c BAT -- battery level, float [0.0 ... 1.0] */
|
||||
RIG_PARM_KEYLIGHT = (1 << 7) /*!< \c KEYLIGHT -- Button backlight, on/off */
|
||||
RIG_PARM_KEYLIGHT = (1 << 7), /*!< \c KEYLIGHT -- Button backlight, on/off */
|
||||
RIG_PARM_SCREENSAVER = (1 << 8) /*!< \c SCREENSAVER -- rig specific timeouts */
|
||||
};
|
||||
|
||||
#define RIG_PARM_FLOAT_LIST (RIG_PARM_BACKLIGHT|RIG_PARM_BAT|RIG_PARM_KEYLIGHT)
|
||||
|
|
|
@ -138,6 +138,7 @@ struct cmdparams ic9700_extcmds[] = {
|
|||
{ {.s=RIG_PARM_BEEP}, C_CTL_MEM, S_MEM_PARM, SC_MOD_RW, 2, {0x00, 0x29}, CMD_DAT_BOL, 1 },
|
||||
{ {.s=RIG_PARM_BACKLIGHT}, C_CTL_MEM, S_MEM_PARM, SC_MOD_RW, 2, {0x01, 0x52}, CMD_DAT_LVL, 2 },
|
||||
{ {.s=RIG_LEVEL_VOXDELAY}, C_CTL_MEM, S_MEM_PARM, SC_MOD_RW, 2, {0x03, 0x30}, CMD_DAT_INT, 1 },
|
||||
// { {.s=RIG_PARM_SCREENSAVER}, C_CTL_MEM, S_MEM_PARM, SC_MOD_RW, 2, {0x01, 0x67}, CMD_DAT_INT, 1 },
|
||||
{ {.s=RIG_PARM_NONE} }
|
||||
};
|
||||
|
||||
|
|
|
@ -826,6 +826,7 @@ static struct
|
|||
{ RIG_PARM_TIME, "TIME" },
|
||||
{ RIG_PARM_BAT, "BAT" },
|
||||
{ RIG_PARM_KEYLIGHT, "KEYLIGHT"},
|
||||
{ RIG_PARM_SCREENSAVER, "SCREENSAVER"},
|
||||
{ RIG_PARM_NONE, "" },
|
||||
};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue