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) ...@@ -73,6 +73,7 @@ function int print_channels( int fp, string chanclass, string sigclass)
signal = "-"; signal = "-";
sdescr = "-"; sdescr = "-";
else else
signal = signals[i];
attr = signals[i] + ".Description"; attr = signals[i] + ".Description";
sdescr = GetAttribute( attr); sdescr = GetAttribute( attr);
endif endif
...@@ -81,7 +82,7 @@ function int print_channels( int fp, string chanclass, string sigclass) ...@@ -81,7 +82,7 @@ function int print_channels( int fp, string chanclass, string sigclass)
cdescr = GetAttribute( attr); cdescr = GetAttribute( attr);
# Write to temporary file # 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); channel = GetNextAttrRef( chanclass, channel);
endwhile 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