Commit bcfeb626 authored by Claes Sjofors's avatar Claes Sjofors

IO list script fix

parent b8749bbb
...@@ -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
...@@ -142,6 +143,6 @@ main() ...@@ -142,6 +143,6 @@ main()
MessageInfo( msg); MessageInfo( msg);
delete signals[1000]; delete signals[4000];
delete sigchancons[1000]; delete sigchancons[4000];
endmain endmain
\ No newline at end of file
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