Add SR_CONF_EXTERNAL_CLOCK_SOURCE key.

Signed-off-by: Andrej Valek <andy@skyrain.eu>
This commit is contained in:
Andrej Valek 2018-05-28 19:51:29 +02:00 committed by Uwe Hermann
parent 2a80186103
commit bc294eaca8
2 changed files with 8 additions and 0 deletions

View File

@ -989,6 +989,12 @@ enum sr_configkey {
/** 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! */
/*--- Special stuff -------------------------------------------------*/

View File

@ -181,6 +181,8 @@ static struct sr_key_info sr_key_info_config[] = {
"Under-voltage condition threshold", NULL},
{SR_CONF_TRIGGER_LEVEL, SR_T_FLOAT, "triggerlevel",
"Trigger level", NULL},
{SR_CONF_EXTERNAL_CLOCK_SOURCE, SR_T_STRING, "external_clock_source",
"External clock source", NULL},
/* Special stuff */
{SR_CONF_SESSIONFILE, SR_T_STRING, "sessionfile",