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:
Aurelien Jacobs 2014-11-25 22:49:39 +01:00 committed by Uwe Hermann
parent a160a0c344
commit 5e1b68c6e7
1 changed files with 2 additions and 0 deletions

View File

@ -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);