]> sigrok.org Git - libsigrok.git/blobdiff - output/gnuplot.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / output / gnuplot.c
index 968b5e370f749d353979d2fe19734757e6dff631..2800d55aeb92d2261736b535ea5b7808d2659df3 100644 (file)
@@ -80,7 +80,7 @@ static int init(struct sr_output *o)
        ctx->num_enabled_channels = 0;
        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;
@@ -114,7 +114,7 @@ static int init(struct sr_output *o)
        wbuf[0] = '\0';
        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;