]> sigrok.org Git - libsigrok.git/blobdiff - hardware/cem-dt-885x/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / cem-dt-885x / api.c
index 6a5b327566e3a332c4673f370b68df7f4f26f1ec..7170c6f7f168da8dccbaddd64b389437c816fad5 100644 (file)
@@ -126,7 +126,7 @@ static GSList *scan(GSList *options)
                        sdi->inst_type = SR_INST_SERIAL;
                        sdi->priv = devc;
                        sdi->driver = di;
-                       if (!(ch = sr_probe_new(0, SR_PROBE_ANALOG, TRUE, "SPL")))
+                       if (!(ch = sr_channel_new(0, SR_PROBE_ANALOG, TRUE, "SPL")))
                                return NULL;
                        sdi->channels = g_slist_append(sdi->channels, ch);
                        drvc->instances = g_slist_append(drvc->instances, sdi);