]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / zeroplus-logic-cube / api.c
index 69e1441158ea4428934b27aad13e2a00e735e373..4bc25a977e4b644b62fb9f38f024180f49e95c0a 100644 (file)
@@ -316,7 +316,7 @@ static GSList *scan(GSList *options)
 
                /* Fill in channellist according to this device's profile. */
                for (j = 0; j < devc->num_channels; 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);