Commit 11d32bc8 authored by Claes Sjofors's avatar Claes Sjofors

wb create iolist script printed erroneous signals for not connected channels

parent e6ed55fa
......@@ -73,6 +73,7 @@ function int print_channels( int fp, string chanclass, string sigclass)
signal = "-";
sdescr = "-";
else
signal = signals[i];
attr = signals[i] + ".Description";
sdescr = GetAttribute( attr);
endif
......@@ -81,7 +82,7 @@ function int print_channels( int fp, string chanclass, string sigclass)
cdescr = GetAttribute( attr);
# Write to temporary file
fprintf( fp, "%s;%s;\"%s\";\"%s\"\n", channel, signals[i], sdescr, cdescr);
fprintf( fp, "%s;%s;\"%s\";\"%s\"\n", channel, signal, sdescr, cdescr);
channel = GetNextAttrRef( chanclass, channel);
endwhile
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment