]> sigrok.org Git - libsigrok.git/blobdiff - hardware/demo/demo.c
Deprecate SR_DI_CUR_SAMPLERATE.
[libsigrok.git] / hardware / demo / demo.c
index 6c211cd7cb8152c07dc280b999cc73d790ac9851..7fc00fb71be318c30baf38a6207b6f42d134b4c6 100644 (file)
@@ -234,7 +234,7 @@ 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_CUR_SAMPLERATE:
+       case SR_CONF_SAMPLERATE:
                *data = &cur_samplerate;
                break;
        case SR_DI_PATTERNS: