case SR_DI_HWCAPS:
*data = hwcaps;
break;
- case SR_DI_TIMEBASES:
- *data = timebases;
- break;
- case SR_DI_TRIGGER_SOURCES:
- *data = trigger_sources;
- break;
- case SR_DI_FILTERS:
- *data = filter_targets;
- break;
- case SR_DI_VDIVS:
- *data = vdivs;
- break;
/* TODO remove this */
case SR_CONF_SAMPLERATE:
*data = &tmp;
case SR_CONF_COUPLING:
*data = coupling;
break;
+ case SR_CONF_VDIV:
+ *data = vdivs;
+ break;
+ case SR_CONF_FILTER:
+ *data = filter_targets;
+ break;
+ case SR_CONF_TIMEBASE:
+ *data = timebases;
+ break;
+ case SR_CONF_TRIGGER_SOURCE:
+ *data = trigger_sources;
+ break;
default:
return SR_ERR_ARG;
}