]> sigrok.org Git - libsigrok.git/blobdiff - output/csv.c
sr: rename all sr_device_* functions to sr_dev_*
[libsigrok.git] / output / csv.c
index 2f91226ba8620cfa664dd23ce442ec8da7f5d32e..c1b0ee9247db00e0aac88f199e5a97570147a09b 100644 (file)
@@ -91,7 +91,7 @@ static int init(struct sr_output *o)
 
        num_probes = g_slist_length(o->device->probes);
 
-       if (sr_device_has_hwcap(o->device, SR_HWCAP_SAMPLERATE)) {
+       if (sr_dev_has_hwcap(o->device, SR_HWCAP_SAMPLERATE)) {
                samplerate = *((uint64_t *) o->device->plugin->get_device_info(
                                o->device->plugin_index, SR_DI_CUR_SAMPLERATE));
                /* TODO: Error checks. */