applied patch '[ 1858985 ] possible fix to print the signal aliases' (Hartley Sweeten)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@892 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 17 years ago
parent e0db0512f7
commit b8727aafa1

@ -1,3 +1,8 @@
2007-12-27 Arnim Laeuger <arniml@users.sourceforge.net>
* src/cmd/print.c (cmd_print_run): applied patch:
'[ 1858985 ] possible fix to print the signal aliases' (Hartley Sweeten)
2007-12-26 Kolja Waschk <kawk>
* tap/cable/vision_ep9307.c, tap/cable.c, tap/Makefile.am, configure.ac:

@ -68,10 +68,15 @@ cmd_print_run( char *params[] )
signal_t *s;
part = chain->parts->parts[chain->active_part];
for(s = part->signals;s != NULL;s = s->next) {
salias_t *sa;
if(s->pin)printf("%s %s",s->name,s->pin);
else printf("%s",s->name);
if(s->input)printf("\tinput=%s",s->input->name);
if(s->output)printf("\toutput=%s",s->output->name);
for (sa = part->saliases; sa != NULL; sa = sa->next) {
if (s == sa->signal)printf("\tsalias=%s",sa->name);
}
printf("\n");
}
return(1);

Loading…
Cancel
Save