]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/api.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / hardware / zeroplus-logic-cube / api.c
index 4bc25a977e4b644b62fb9f38f024180f49e95c0a..a7fdc8f3785b068ace3f8e4047c2c097c66b638f 100644 (file)
@@ -316,7 +316,7 @@ static GSList *scan(GSList *options)
 
                /* Fill in channellist according to this device's profile. */
                for (j = 0; j < devc->num_channels; j++) {
-                       if (!(ch = sr_channel_new(j, SR_PROBE_LOGIC, TRUE,
+                       if (!(ch = sr_channel_new(j, SR_CHANNEL_LOGIC, TRUE,
                                        channel_names[j])))
                                return NULL;
                        sdi->channels = g_slist_append(sdi->channels, ch);