]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / openbench-logic-sniffer / api.c
index 258897118161ee9cd26d0488d5beb574734a34e5..8284db1530765c1467b680de8fd7f3f3a530949a 100644 (file)
@@ -177,7 +177,7 @@ static GSList *scan(GSList *options)
                                "Sump", "Logic Analyzer", "v1.0");
                sdi->driver = di;
                for (i = 0; i < 32; i++) {
-                       if (!(ch = sr_probe_new(i, SR_PROBE_LOGIC, TRUE,
+                       if (!(ch = sr_channel_new(i, SR_PROBE_LOGIC, TRUE,
                                        ols_channel_names[i])))
                                return 0;
                        sdi->channels = g_slist_append(sdi->channels, ch);