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