]> sigrok.org Git - libsigrok.git/blobdiff - hardware/colead-slm/api.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / hardware / colead-slm / api.c
index cd3b8ce88ba997308a18e4ee3063e9222c298fd3..f65882723cb1a37f06ebec8afeb27d9a2176b135 100644 (file)
@@ -97,7 +97,7 @@ static GSList *scan(GSList *options)
        sdi->inst_type = SR_INST_SERIAL;
        sdi->priv = devc;
        sdi->driver = di;
-       if (!(ch = sr_channel_new(0, SR_PROBE_ANALOG, TRUE, "P1")))
+       if (!(ch = sr_channel_new(0, SR_CHANNEL_ANALOG, TRUE, "P1")))
                return NULL;
        sdi->channels = g_slist_append(sdi->channels, ch);
        drvc->instances = g_slist_append(drvc->instances, sdi);