]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/api.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / hardware / hantek-dso / api.c
index 924516056ea865c561e1e550891c8d23ecbd08ed..76696d57525e3b17dd75a15e41a0348985d0c482 100644 (file)
@@ -176,7 +176,7 @@ static struct sr_dev_inst *dso_dev_new(int index, const struct dso_profile *prof
         * a trigger source internal to the device.
         */
        for (i = 0; channel_names[i]; i++) {
-               if (!(ch = sr_channel_new(i, SR_PROBE_ANALOG, TRUE,
+               if (!(ch = sr_channel_new(i, SR_CHANNEL_ANALOG, TRUE,
                                channel_names[i])))
                        return NULL;
                sdi->channels = g_slist_append(sdi->channels, ch);