SR_CONF_PROBE_FACTOR: New option.
Add new configuration option allowing to modify the probe factor for oscilloscopes and power-monitors. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
parent
a0b277ba67
commit
d3c81725ae
|
@ -906,6 +906,9 @@ enum sr_configkey {
|
|||
*/
|
||||
SR_CONF_DATA_SOURCE,
|
||||
|
||||
/** The device supports setting a probe factor. */
|
||||
SR_CONF_PROBE_FACTOR,
|
||||
|
||||
/*--- Acquisition modes, sample limiting ----------------------------*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -183,6 +183,8 @@ static struct sr_config_info sr_config_info_data[] = {
|
|||
"Power off", NULL},
|
||||
{SR_CONF_DATA_SOURCE, SR_T_STRING, "data_source",
|
||||
"Data source", NULL},
|
||||
{SR_CONF_PROBE_FACTOR, SR_T_UINT64, "probe_factor",
|
||||
"Probe factor", NULL},
|
||||
|
||||
/* Acquisition modes, sample limiting */
|
||||
{SR_CONF_LIMIT_MSEC, SR_T_UINT64, "limit_time",
|
||||
|
|
Loading…
Reference in New Issue