]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.c
Deprecate SR_DI_CUR_SAMPLERATE.
[libsigrok.git] / hardware / fx2lafw / fx2lafw.c
index 1717f9d0d86ed59aabe8eeaf689ad4f1e9e41e06..4b442530fb28f733c31ce385af90ddc6d1403941 100644 (file)
@@ -613,7 +613,7 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
        case SR_DI_TRIGGER_TYPES:
                *data = TRIGGER_TYPES;
                break;
-       case SR_DI_CUR_SAMPLERATE:
+       case SR_CONF_SAMPLERATE:
                if (sdi) {
                        devc = sdi->priv;
                        *data = &devc->cur_samplerate;