X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=session.c;h=65cc2918d37adf0a95e0a49f0226479636e69806;hb=67a00747d638fad479a69533e190446975643d6a;hp=131d46f1aa7e9508aacc744d2e89fbbcefdbcede;hpb=ac3dcd3e26b7657e3ae16a95c03d6d2a43a28e54;p=sigrok-cli.git 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;