]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/zeroplus.c
Deprecate SR_DI_CUR_SAMPLERATE.
[libsigrok.git] / hardware / zeroplus-logic-cube / zeroplus.c
index b8f9fb1a7a8d1ca98c7144218e732d91a8f64b0c..ec34d306cb21d4de4c4779e45c12dfb9c040d635 100644 (file)
@@ -541,7 +541,7 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
                *data = TRIGGER_TYPES;
                sr_spew("zp: %s: Returning triggertypes: %s.", __func__, TRIGGER_TYPES);
                break;
-       case SR_DI_CUR_SAMPLERATE:
+       case SR_CONF_SAMPLERATE:
                if (sdi) {
                        devc = sdi->priv;
                        *data = &devc->cur_samplerate;