]> sigrok.org Git - libsigrok.git/blobdiff - hardware/saleae-logic16/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / saleae-logic16 / api.c
index 438d91a4501137067d9c5f4d8250e8210522818e..3759b8251e216def8ecafc381fb06e09b8af82d9 100644 (file)
@@ -195,7 +195,7 @@ static GSList *scan(GSList *options)
                sdi->driver = di;
 
                for (j = 0; channel_names[j]; j++) {
-                       if (!(ch = sr_probe_new(j, SR_PROBE_LOGIC, TRUE,
+                       if (!(ch = sr_channel_new(j, SR_PROBE_LOGIC, TRUE,
                                                   channel_names[j])))
                                return NULL;
                        sdi->channels = g_slist_append(sdi->channels, ch);