]> sigrok.org Git - libsigrok.git/blobdiff - output/ols.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / output / ols.c
index b59931624921ba0565e88d76cf82eb3d082d237c..28c01338cfedcc9972a2db7a6897d3d4b1fd1204 100644 (file)
@@ -71,7 +71,7 @@ static GString *gen_header(const struct sr_dev_inst *sdi, struct context *ctx)
        num_enabled_channels = 0;
        for (l = 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;