]> sigrok.org Git - libsigrok.git/blobdiff - hardware/saleae-logic16/api.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / hardware / saleae-logic16 / api.c
index 3759b8251e216def8ecafc381fb06e09b8af82d9..cfd5022552402cac04c5e1e079f5f433b83736bf 100644 (file)
@@ -195,7 +195,7 @@ static GSList *scan(GSList *options)
                sdi->driver = di;
 
                for (j = 0; channel_names[j]; 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);