]> sigrok.org Git - libsigrok.git/blobdiff - hardware/uni-t-dmm/api.c
Deprecate SR_DI_CUR_SAMPLERATE.
[libsigrok.git] / hardware / uni-t-dmm / api.c
index b019f0f24ed1a83627945d94b3584aa3a825c8d7..7c4c6b89cd3cf5a8d109621971706b85c8911067 100644 (file)
@@ -200,7 +200,7 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
                *data = hwcaps;
                sr_spew("%s: Returning hwcaps.", __func__);
                break;
-       case SR_DI_CUR_SAMPLERATE:
+       case SR_CONF_SAMPLERATE:
                /* TODO: Get rid of this. */
                *data = NULL;
                sr_spew("%s: Returning current samplerate.", __func__);