Deprecate SR_DI_FILTERS.

This is replaced by SR_CONF_FILTER.
This commit is contained in:
Bert Vermeulen 2013-01-25 11:19:12 +01:00
parent e4f2b2adc1
commit 6e1fbcc41b
2 changed files with 3 additions and 5 deletions

View File

@ -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;
}

View File

@ -557,8 +557,6 @@ enum {
SR_DI_TIMEBASES,
/** Supported trigger sources. */
SR_DI_TRIGGER_SOURCES,
/** Supported filter targets. */
SR_DI_FILTERS,
};
/*