]> sigrok.org Git - libsigrok.git/blobdiff - output/text/text.c
Skip analog probes in logic-only output formats.
[libsigrok.git] / output / text / text.c
index 6856612127c1528f8df3f88380ed7230974584c8..47d0542b889e2bf4d2639c36764a04d725daca98 100644 (file)
@@ -92,6 +92,8 @@ SR_PRIV int init(struct sr_output *o, int default_spl, enum outputmode mode)
 
        for (l = o->sdi->probes; l; l = l->next) {
                probe = l->data;
+               if (probe->type != SR_PROBE_LOGIC)
+                       continue;
                if (!probe->enabled)
                        continue;
                ctx->probenames = g_slist_append(ctx->probenames, probe->name);