]> sigrok.org Git - libsigrok.git/blobdiff - hardware/kecheng-kc-330b/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / kecheng-kc-330b / api.c
index fcb54381e01b9da030bdfe2ac0b0d65e8e965b38..21d202f56e690e9943efe5e1f153ab322baf3933 100644 (file)
@@ -135,7 +135,7 @@ static GSList *scan(GSList *options)
                        sdi->driver = di;
                        sdi->inst_type = SR_INST_USB;
                        sdi->conn = l->data;
-                       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);