X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fzeroplus-logic-cube%2Fzeroplus.c;h=ec34d306cb21d4de4c4779e45c12dfb9c040d635;hb=123e13138385055003cb6bc09e74df783df5af85;hp=b8f9fb1a7a8d1ca98c7144218e732d91a8f64b0c;hpb=fbec8bd2f3ead02358df65240c2cf786c8267f54;p=libsigrok.git diff --git a/hardware/zeroplus-logic-cube/zeroplus.c b/hardware/zeroplus-logic-cube/zeroplus.c index b8f9fb1a..ec34d306 100644 --- a/hardware/zeroplus-logic-cube/zeroplus.c +++ b/hardware/zeroplus-logic-cube/zeroplus.c @@ -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;