Deprecate SR_DI_BUFFERSIZES.
This is replaced by SR_CONF_BUFFERSIZE.
This commit is contained in:
parent
dd96ea9879
commit
6d1ceffa95
|
@ -432,9 +432,6 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
|
||||||
case SR_DI_HWCAPS:
|
case SR_DI_HWCAPS:
|
||||||
*data = hwcaps;
|
*data = hwcaps;
|
||||||
break;
|
break;
|
||||||
case SR_DI_BUFFERSIZES:
|
|
||||||
*data = buffersizes;
|
|
||||||
break;
|
|
||||||
case SR_DI_TIMEBASES:
|
case SR_DI_TIMEBASES:
|
||||||
*data = timebases;
|
*data = timebases;
|
||||||
break;
|
break;
|
||||||
|
@ -586,6 +583,9 @@ static int config_list(int key, const void **data, const struct sr_dev_inst *sdi
|
||||||
(void)sdi;
|
(void)sdi;
|
||||||
|
|
||||||
switch (key) {
|
switch (key) {
|
||||||
|
case SR_CONF_BUFFERSIZE:
|
||||||
|
*data = buffersizes;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return SR_ERR_ARG;
|
return SR_ERR_ARG;
|
||||||
}
|
}
|
||||||
|
|
|
@ -553,8 +553,6 @@ enum {
|
||||||
SR_DI_HWCAPS,
|
SR_DI_HWCAPS,
|
||||||
/** Types of logic trigger supported, out of "01crf" (char *). */
|
/** Types of logic trigger supported, out of "01crf" (char *). */
|
||||||
SR_DI_TRIGGER_TYPES,
|
SR_DI_TRIGGER_TYPES,
|
||||||
/** Supported buffer sizes. */
|
|
||||||
SR_DI_BUFFERSIZES,
|
|
||||||
/** Supported time bases. */
|
/** Supported time bases. */
|
||||||
SR_DI_TIMEBASES,
|
SR_DI_TIMEBASES,
|
||||||
/** Supported trigger sources. */
|
/** Supported trigger sources. */
|
||||||
|
|
Loading…
Reference in New Issue