]> sigrok.org Git - sigrok-cli.git/blobdiff - session.c
Always save all channels to a session file.
[sigrok-cli.git] / session.c
index 131d46f1aa7e9508aacc744d2e89fbbcefdbcede..65cc2918d37adf0a95e0a49f0226479636e69806 100644 (file)
--- 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;