From: Bert Vermeulen Date: Mon, 24 Nov 2014 01:21:15 +0000 (+0100) Subject: Always save all channels to a session file. X-Git-Tag: libsigrok-0.4.0~710 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bc96d5f08fe59ea7c51799b148946f5003c90927;p=libsigrok.git Always save all channels to a session file. This works around limitations of the current API that screw up saving only enabled channels. See bug 410. And bug 495. --- diff --git a/src/output/srzip.c b/src/output/srzip.c index 18a79d5b..a82113fa 100644 --- a/src/output/srzip.c +++ b/src/output/srzip.c @@ -102,8 +102,6 @@ static int zip_create(const struct sr_output *o) ch = l->data; if (ch->type != SR_CHANNEL_LOGIC) continue; - if (!ch->enabled) - continue; fprintf(meta, "probe%d = %s\n", ch->index + 1, ch->name); } fclose(meta);