]> sigrok.org Git - libsigrok.git/blobdiff - hardware/appa-55ii/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / appa-55ii / api.c
index 667b1c97cb36747a93b3b0fe2b179145ef38ffdc..8bbe45a0872c64e670ecefbf454fb1b28fb23759 100644 (file)
@@ -111,10 +111,10 @@ static GSList *scan(GSList *options)
        sdi->priv = devc;
        sdi->driver = di;
 
-       if (!(ch = sr_probe_new(0, SR_PROBE_ANALOG, TRUE, "T1")))
+       if (!(ch = sr_channel_new(0, SR_PROBE_ANALOG, TRUE, "T1")))
                goto scan_cleanup;
        sdi->channels = g_slist_append(sdi->channels, ch);
-       if (!(ch = sr_probe_new(0, SR_PROBE_ANALOG, TRUE, "T2")))
+       if (!(ch = sr_channel_new(0, SR_PROBE_ANALOG, TRUE, "T2")))
                goto scan_cleanup;
        sdi->channels = g_slist_append(sdi->channels, ch);