X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Fvcd.c;h=a9d51f83a53fd41a1eae3105140ce12a0511d77f;hb=3f239f0803b9fbc073dd7abe9fc7b2a0c606fbb6;hp=59198357dfa204663ec03aa8faea7c1818495e4d;hpb=56d0d24535700fb53e47a25ad5c73d34697695fa;p=libsigrok.git diff --git a/output/vcd.c b/output/vcd.c index 59198357..a9d51f83 100644 --- a/output/vcd.c +++ b/output/vcd.c @@ -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;