Only save enabled channels to a session file.
This reverts bc96d5f08f
which is not
needed anymore since we have a better fix for #410 and #495.
This commit is contained in:
parent
a160a0c344
commit
5e1b68c6e7
|
@ -102,6 +102,8 @@ 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);
|
||||
|
|
Loading…
Reference in New Issue