]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/api.c
Deprecate SR_DI_CUR_SAMPLERATE.
[libsigrok.git] / hardware / link-mso19 / api.c
index 98fc9b7819e683786ea94394e5baaee682f6f026..cde523ecf6569e2ee4bbeb6c7189e1cd8ab054bc 100644 (file)
@@ -309,7 +309,7 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
        case SR_DI_TRIGGER_TYPES:
                *data = (char *)TRIGGER_TYPES;
                break;
-       case SR_DI_CUR_SAMPLERATE:
+       case SR_CONF_SAMPLERATE:
                if (sdi) {
                        devc = sdi->priv;
                        *data = &devc->cur_rate;