X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fopenbench-logic-sniffer%2Fapi.c;h=845dd254b6005e44a6e130d3893a9a613efd24c7;hb=123e13138385055003cb6bc09e74df783df5af85;hp=daf2311c78911ac8b64c982d792a6c7fa39e9695;hpb=fbec8bd2f3ead02358df65240c2cf786c8267f54;p=libsigrok.git diff --git a/hardware/openbench-logic-sniffer/api.c b/hardware/openbench-logic-sniffer/api.c index daf2311c..845dd254 100644 --- a/hardware/openbench-logic-sniffer/api.c +++ b/hardware/openbench-logic-sniffer/api.c @@ -264,7 +264,7 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi) case SR_DI_TRIGGER_TYPES: *data = (char *)TRIGGER_TYPES; break; - case SR_DI_CUR_SAMPLERATE: + case SR_CONF_SAMPLERATE: if (sdi) { devc = sdi->priv; *data = &devc->cur_samplerate;