Add new config key OFFSET.
This commit is contained in:
parent
a6e5d2f676
commit
78ec6cf99d
|
@ -995,6 +995,9 @@ enum sr_configkey {
|
||||||
*/
|
*/
|
||||||
SR_CONF_EXTERNAL_CLOCK_SOURCE,
|
SR_CONF_EXTERNAL_CLOCK_SOURCE,
|
||||||
|
|
||||||
|
/** Offset of a source without strictly-defined MQ. */
|
||||||
|
SR_CONF_OFFSET,
|
||||||
|
|
||||||
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
||||||
|
|
||||||
/*--- Special stuff -------------------------------------------------*/
|
/*--- Special stuff -------------------------------------------------*/
|
||||||
|
|
|
@ -183,6 +183,8 @@ static struct sr_key_info sr_key_info_config[] = {
|
||||||
"Trigger level", NULL},
|
"Trigger level", NULL},
|
||||||
{SR_CONF_EXTERNAL_CLOCK_SOURCE, SR_T_STRING, "external_clock_source",
|
{SR_CONF_EXTERNAL_CLOCK_SOURCE, SR_T_STRING, "external_clock_source",
|
||||||
"External clock source", NULL},
|
"External clock source", NULL},
|
||||||
|
{SR_CONF_OFFSET, SR_T_FLOAT, "offset",
|
||||||
|
"Offset", NULL},
|
||||||
|
|
||||||
/* Special stuff */
|
/* Special stuff */
|
||||||
{SR_CONF_SESSIONFILE, SR_T_STRING, "sessionfile",
|
{SR_CONF_SESSIONFILE, SR_T_STRING, "sessionfile",
|
||||||
|
|
Loading…
Reference in New Issue