]> sigrok.org Git - libsigrok.git/blobdiff - output/csv.c
Rename SR_HWOPT_* and SR_HWCAP_* to SR_CONF_*
[libsigrok.git] / output / csv.c
index c86fd7c919e7151635279b3711b2ad5a4a0bab79..da09c3e70b51030a93fe8e5d9ae8c6c24b653803 100644 (file)
@@ -99,7 +99,7 @@ static int init(struct sr_output *o)
 
        num_probes = g_slist_length(o->sdi->probes);
 
-       if (sr_dev_has_hwcap(o->sdi, SR_HWCAP_SAMPLERATE)) {
+       if (sr_dev_has_hwcap(o->sdi, SR_CONF_SAMPLERATE)) {
                o->sdi->driver->info_get(SR_DI_CUR_SAMPLERATE,
                                (const void **)&samplerate, o->sdi);
                ctx->samplerate = *samplerate;