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:
Bartosz Golaszewski 2015-02-12 14:53:52 +01:00 committed by Uwe Hermann
parent a0b277ba67
commit d3c81725ae
2 changed files with 5 additions and 0 deletions

View File

@ -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 ----------------------------*/
/**

View File

@ -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",