]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/scpi-pps/api.c
Make sr_next_enabled_channel() from scpi-pps available library-wide.
[libsigrok.git] / src / hardware / scpi-pps / api.c
index 58e14f6e08abdaf9cf8848efad9fc0a0a6611401..1210b81c6e1ef7554dca21ce2b28e678cd88481c 100644 (file)
@@ -597,7 +597,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
        std_session_send_df_header(sdi, LOG_PREFIX);
 
        /* Prime the pipe with the first channel's fetch. */
-       ch = next_enabled_channel(sdi, NULL);
+       ch = sr_next_enabled_channel(sdi, NULL);
        pch = ch->priv;
        if ((ret = select_channel(sdi, ch)) < 0)
                return ret;