]> sigrok.org Git - libsigrok.git/blobdiff - output/csv.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / output / csv.c
index 6b3af1c3b12f57a550910651749df3407aade190..2c82b928c96a018b3e2da707fcdc95ce86893d3f 100644 (file)
@@ -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;