]> sigrok.org Git - libsigrok.git/blobdiff - hardware/tondaj-sl-814/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / tondaj-sl-814 / api.c
index abe88ba4317629d74a25073b0ce5b727e6e07b88..d2f6ccebf6c05c68d40bbadfb106638c82839a03 100644 (file)
@@ -106,7 +106,7 @@ static GSList *scan(GSList *options)
 
        sdi->priv = devc;
        sdi->driver = di;
-       ch = sr_probe_new(0, SR_PROBE_ANALOG, TRUE, "P1");
+       ch = sr_channel_new(0, SR_PROBE_ANALOG, TRUE, "P1");
        if (!ch) {
                sr_err("Failed to create channel.");
                return NULL;