X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=output%2Fcsv.c;h=819008ae16b688f303fbc5d320ffa84b6d37aebe;hp=18d5c420bb406235f979c356600e1213f78fc1af;hb=5097b0d0912165429aceddb5febbf68467b623f5;hpb=a7d05fcb388f142012035a0ed31bcf74d42bbe73 diff --git a/output/csv.c b/output/csv.c index 18d5c420..819008ae 100644 --- a/output/csv.c +++ b/output/csv.c @@ -92,7 +92,7 @@ static int init(struct sr_output *o) num_probes = g_slist_length(o->dev->probes); if (sr_dev_has_hwcap(o->dev, SR_HWCAP_SAMPLERATE)) { - samplerate = *((uint64_t *) o->dev->plugin->get_dev_info( + samplerate = *((uint64_t *) o->dev->plugin->dev_info_get( o->dev->plugin_index, SR_DI_CUR_SAMPLERATE)); /* TODO: Error checks. */ } else {