Rename SR_CONF_TRIGGER_TYPE to SR_CONF_TRIGGER_MATCH.
Drivers supporting triggering need to implement this in config_list() and return an array of int32_t consisting of SR_TRIGGER_*.
This commit is contained in:
parent
7b5e6d2978
commit
795c9de35e
|
@ -56,8 +56,8 @@ static struct sr_config_info sr_config_info_data[] = {
|
|||
"Pre-trigger capture ratio", NULL},
|
||||
{SR_CONF_PATTERN_MODE, SR_T_STRING, "pattern",
|
||||
"Pattern", NULL},
|
||||
{SR_CONF_TRIGGER_TYPE, SR_T_STRING, "triggertype",
|
||||
"Trigger types", NULL},
|
||||
{SR_CONF_TRIGGER_MATCH, SR_T_INT32, "triggermatch",
|
||||
"Trigger matches", NULL},
|
||||
{SR_CONF_EXTERNAL_CLOCK, SR_T_BOOL, "external_clock",
|
||||
"External clock mode", NULL},
|
||||
{SR_CONF_SWAP, SR_T_BOOL, "swap",
|
||||
|
|
|
@ -738,8 +738,8 @@ enum sr_configkey {
|
|||
/** Coupling. */
|
||||
SR_CONF_COUPLING,
|
||||
|
||||
/** Trigger types. */
|
||||
SR_CONF_TRIGGER_TYPE,
|
||||
/** Trigger matches. */
|
||||
SR_CONF_TRIGGER_MATCH,
|
||||
|
||||
/** The device supports setting its sample interval, in ms. */
|
||||
SR_CONF_SAMPLE_INTERVAL,
|
||||
|
|
Loading…
Reference in New Issue