X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Ftext%2Ftext.c;h=fad68a5da888761fc0a00232bfea377d9d9be2b2;hb=3f239f0803b9fbc073dd7abe9fc7b2a0c606fbb6;hp=e32e843d27a8b4d94dd78cc34434345ba0993690;hpb=56d0d24535700fb53e47a25ad5c73d34697695fa;p=libsigrok.git diff --git a/output/text/text.c b/output/text/text.c index e32e843d..fad68a5d 100644 --- a/output/text/text.c +++ b/output/text/text.c @@ -92,7 +92,7 @@ SR_PRIV int init(struct sr_output *o, int default_spl, enum outputmode mode) 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;