]> sigrok.org Git - libsigrok.git/blobdiff - output/ols.c
sr/cli/gtk/qt: s/get_dev_info/dev_info_get/.
[libsigrok.git] / output / ols.c
index 62ab5382bbdf9008220ce49841dc69d5fa258a42..2025249d6a350e9657be065fce8e82c776bdebf3 100644 (file)
@@ -61,7 +61,7 @@ static int init(struct sr_output *o)
        ctx->unitsize = (num_enabled_probes + 7) / 8;
 
        if (o->dev->plugin && 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));
        else
                samplerate = 0;