X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Fcsv.c;h=2c82b928c96a018b3e2da707fcdc95ce86893d3f;hb=3f239f0803b9fbc073dd7abe9fc7b2a0c606fbb6;hp=6b3af1c3b12f57a550910651749df3407aade190;hpb=56d0d24535700fb53e47a25ad5c73d34697695fa;p=libsigrok.git diff --git a/output/csv.c b/output/csv.c index 6b3af1c3..2c82b928 100644 --- a/output/csv.c +++ b/output/csv.c @@ -68,7 +68,7 @@ static int init(struct sr_output *o) /* Get the number of channels, and the unitsize. */ 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; @@ -102,7 +102,7 @@ static int init(struct sr_output *o) ctx->num_enabled_channels, num_channels); 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;