]> sigrok.org Git - libsigrok.git/blobdiff - output/vcd.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / output / vcd.c
index 59198357dfa204663ec03aa8faea7c1818495e4d..a9d51f83a53fd41a1eae3105140ce12a0511d77f 100644 (file)
@@ -63,7 +63,7 @@ static int init(struct sr_output *o)
 
        for (l = o->sdi->channels; l; l = l->next) {
                ch = l->data;
-               if (ch->type != SR_PROBE_LOGIC)
+               if (ch->type != SR_CHANNEL_LOGIC)
                        continue;
                if (!ch->enabled)
                        continue;
@@ -127,7 +127,7 @@ static int init(struct sr_output *o)
        /* Wires / channels */
        for (i = 0, l = o->sdi->channels; l; l = l->next, i++) {
                ch = l->data;
-               if (ch->type != SR_PROBE_LOGIC)
+               if (ch->type != SR_CHANNEL_LOGIC)
                        continue;
                if (!ch->enabled)
                        continue;