Add SR_CONF_EXTERNAL_CLOCK_SOURCE key.
Signed-off-by: Andrej Valek <andy@skyrain.eu>
This commit is contained in:
parent
2a80186103
commit
bc294eaca8
|
@ -989,6 +989,12 @@ enum sr_configkey {
|
||||||
/** Under-voltage condition threshold. */
|
/** Under-voltage condition threshold. */
|
||||||
SR_CONF_UNDER_VOLTAGE_CONDITION_THRESHOLD,
|
SR_CONF_UNDER_VOLTAGE_CONDITION_THRESHOLD,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Which external clock source to use if the device supports
|
||||||
|
* multiple external clock channels.
|
||||||
|
*/
|
||||||
|
SR_CONF_EXTERNAL_CLOCK_SOURCE,
|
||||||
|
|
||||||
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
||||||
|
|
||||||
/*--- Special stuff -------------------------------------------------*/
|
/*--- Special stuff -------------------------------------------------*/
|
||||||
|
|
|
@ -181,6 +181,8 @@ static struct sr_key_info sr_key_info_config[] = {
|
||||||
"Under-voltage condition threshold", NULL},
|
"Under-voltage condition threshold", NULL},
|
||||||
{SR_CONF_TRIGGER_LEVEL, SR_T_FLOAT, "triggerlevel",
|
{SR_CONF_TRIGGER_LEVEL, SR_T_FLOAT, "triggerlevel",
|
||||||
"Trigger level", NULL},
|
"Trigger level", NULL},
|
||||||
|
{SR_CONF_EXTERNAL_CLOCK_SOURCE, SR_T_STRING, "external_clock_source",
|
||||||
|
"External clock source", NULL},
|
||||||
|
|
||||||
/* Special stuff */
|
/* Special stuff */
|
||||||
{SR_CONF_SESSIONFILE, SR_T_STRING, "sessionfile",
|
{SR_CONF_SESSIONFILE, SR_T_STRING, "sessionfile",
|
||||||
|
|
Loading…
Reference in New Issue