]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / fx2lafw / api.c
index b11a2e1a93ea4fd47ef8f0adce761c14a0570d18..eabf6bd7cd0334322c4c683a342cd19f4d6d8127 100644 (file)
@@ -197,7 +197,7 @@ static GSList *scan(GSList *options)
                /* Fill in channellist according to this device's profile. */
                num_logic_channels = prof->dev_caps & DEV_CAPS_16BIT ? 16 : 8;
                for (j = 0; j < num_logic_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);