X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=session.c;h=65cc2918d37adf0a95e0a49f0226479636e69806;hp=131d46f1aa7e9508aacc744d2e89fbbcefdbcede;hb=4c6a77987e2bbda7c4e9c6f3568ccb7b65226d6c;hpb=62a64762ea3532d12853d431622b8cd05adbcc8c diff --git a/session.c b/session.c index 131d46f..65cc291 100644 --- a/session.c +++ b/session.c @@ -249,7 +249,7 @@ void datafeed_in(const struct sr_dev_inst *sdi, channels = g_malloc(sizeof(char *) * g_slist_length(sdi->channels)); for (i = 0, l = sdi->channels; l; l = l->next) { ch = l->data; - if (ch->enabled && ch->type == SR_CHANNEL_LOGIC) + if (ch->type == SR_CHANNEL_LOGIC) channels[i++] = ch->name; } channels[i] = NULL;