]> 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 28727b81adec36dbdf90feddf7c2e1174a7718db..7da0d97b2ba120218b153c7ccfaca4a2c1d20f34 100644 (file)
@@ -795,13 +795,10 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
        case SR_DI_HWCAPS:
                *data = hwcaps;
                break;
-       case SR_DI_SAMPLERATES:
-               *data = &samplerates;
-               break;
        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;