This is replaced by SR_CONF_VDIV.
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;
default:
return SR_ERR_ARG;
}
case SR_DI_TRIGGER_SOURCES:
*data = trigger_sources;
break;
- case SR_DI_VDIVS:
- *data = vdivs;
- break;
default:
return SR_ERR_ARG;
}
case SR_CONF_COUPLING:
*data = coupling;
break;
+ case SR_CONF_VDIV:
+ *data = vdivs;
+ break;
default:
return SR_ERR_ARG;
}
SR_DI_TRIGGER_SOURCES,
/** Supported filter targets. */
SR_DI_FILTERS,
- /** Valid volts/div values. */
- SR_DI_VDIVS,
};
/*