X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Funi-t-dmm%2Fapi.c;h=7c4c6b89cd3cf5a8d109621971706b85c8911067;hb=123e13138385055003cb6bc09e74df783df5af85;hp=b019f0f24ed1a83627945d94b3584aa3a825c8d7;hpb=fbec8bd2f3ead02358df65240c2cf786c8267f54;p=libsigrok.git diff --git a/hardware/uni-t-dmm/api.c b/hardware/uni-t-dmm/api.c index b019f0f2..7c4c6b89 100644 --- a/hardware/uni-t-dmm/api.c +++ b/hardware/uni-t-dmm/api.c @@ -200,7 +200,7 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi) *data = hwcaps; sr_spew("%s: Returning hwcaps.", __func__); break; - case SR_DI_CUR_SAMPLERATE: + case SR_CONF_SAMPLERATE: /* TODO: Get rid of this. */ *data = NULL; sr_spew("%s: Returning current samplerate.", __func__);