]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / link-mso19 / api.c
index f1b28e93bca7313a1145dc89d7b2a24606bbf151..9e0273aec6b0e80b4aa17c3fa8156016137f93f6 100644 (file)
@@ -219,7 +219,7 @@ static GSList *scan(GSList *options)
                for (i = 0; i < NUM_PROBES; i++) {
                        struct sr_channel *ch;
                        ptype = (i == 0) ? SR_PROBE_ANALOG : SR_PROBE_LOGIC;
-                       if (!(ch = sr_probe_new(i, ptype, TRUE,
+                       if (!(ch = sr_channel_new(i, ptype, TRUE,
                                                   mso19_channel_names[i])))
                                return 0;
                        sdi->channels = g_slist_append(sdi->channels, ch);