]> sigrok.org Git - libsigrok.git/blobdiff - hardware/asix-sigma/asix-sigma.c
Deprecate SR_DI_CUR_SAMPLERATE.
[libsigrok.git] / hardware / asix-sigma / asix-sigma.c
index e340e5408eb0b7a13c3a5d282ecb228dd2e9e26e..7da0d97b2ba120218b153c7ccfaca4a2c1d20f34 100644 (file)
@@ -798,7 +798,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_samplerate;