]> sigrok.org Git - libsigrok.git/blobdiff - hardware/center-3xx/api.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / hardware / center-3xx / api.c
index 68fa1d5509632e363c063041091f86d0c3af8e93..ddac1540bd4cfa62c8f14cd293d56d3f4752880e 100644 (file)
@@ -103,7 +103,7 @@ static GSList *center_scan(const char *conn, const char *serialcomm, int idx)
        sdi->driver = center_devs[idx].di;
 
        for (i = 0; i <  center_devs[idx].num_channels; i++) {
-               if (!(ch = sr_channel_new(i, SR_PROBE_ANALOG,
+               if (!(ch = sr_channel_new(i, SR_CHANNEL_ANALOG,
                                           TRUE, channel_names[i])))
                        goto scan_cleanup;
                sdi->channels = g_slist_append(sdi->channels, ch);