Deprecate SR_DI_FILTERS.
This is replaced by SR_CONF_FILTER.
This commit is contained in:
parent
e4f2b2adc1
commit
6e1fbcc41b
|
@ -438,9 +438,6 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
|
|||
case SR_DI_TRIGGER_SOURCES:
|
||||
*data = trigger_sources;
|
||||
break;
|
||||
case SR_DI_FILTERS:
|
||||
*data = filter_targets;
|
||||
break;
|
||||
/* TODO remove this */
|
||||
case SR_CONF_SAMPLERATE:
|
||||
*data = &tmp;
|
||||
|
@ -586,6 +583,9 @@ static int config_list(int key, const void **data, const struct sr_dev_inst *sdi
|
|||
case SR_CONF_VDIV:
|
||||
*data = vdivs;
|
||||
break;
|
||||
case SR_CONF_FILTER:
|
||||
*data = filter_targets;
|
||||
break;
|
||||
default:
|
||||
return SR_ERR_ARG;
|
||||
}
|
||||
|
|
|
@ -557,8 +557,6 @@ enum {
|
|||
SR_DI_TIMEBASES,
|
||||
/** Supported trigger sources. */
|
||||
SR_DI_TRIGGER_SOURCES,
|
||||
/** Supported filter targets. */
|
||||
SR_DI_FILTERS,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue