]> sigrok.org Git - libsigrok.git/blobdiff - hardware/uni-t-ut32x/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / uni-t-ut32x / api.c
index 352853d8d34cf6efc71c69a70149b1b0eb68bff2..cc09a4bcc002eb0695f5a1ae5d20776b8f84bccc 100644 (file)
@@ -86,7 +86,7 @@ static GSList *scan(GSList *options)
                        sdi->inst_type = SR_INST_USB;
                        sdi->conn = l->data;
                        for (i = 0; i < 3; i++) {
-                               if (!(ch = sr_probe_new(i, SR_PROBE_ANALOG, TRUE,
+                               if (!(ch = sr_channel_new(i, SR_PROBE_ANALOG, TRUE,
                                                channels[i]))) {
                                        sr_dbg("Channel malloc failed.");
                                        return NULL;