This is replaced by SR_CONF_COUPLING.
case SR_DI_VDIVS:
*data = vdivs;
break;
- case SR_DI_COUPLING:
- *data = coupling;
- break;
/* TODO remove this */
case SR_CONF_SAMPLERATE:
*data = &tmp;
case SR_CONF_BUFFERSIZE:
*data = buffersizes;
break;
+ case SR_CONF_COUPLING:
+ *data = coupling;
+ break;
default:
return SR_ERR_ARG;
}
case SR_DI_VDIVS:
*data = vdivs;
break;
- case SR_DI_COUPLING:
- *data = coupling;
- break;
default:
return SR_ERR_ARG;
}
(void)sdi;
switch (key) {
+ case SR_CONF_COUPLING:
+ *data = coupling;
+ break;
default:
return SR_ERR_ARG;
}
SR_DI_FILTERS,
/** Valid volts/div values. */
SR_DI_VDIVS,
- /** Coupling options. */
- SR_DI_COUPLING,
};
/*