2003-02-16 Marcel Telka <marcel@telka.sk>

* src/jtag.c (main): Corrected error message for 'instruction' command and added
		a notice when an instruction is unknown (Alessandro Zummo).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@358 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent c7995ff59c
commit 53062ac43d

@ -1,3 +1,8 @@
2003-02-16 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Corrected error message for 'instruction' command and added
a notice when an instruction is unknown (Alessandro Zummo).
2003-02-16 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Fixed segfault in 'detectflash'. Thanks to August Hörandl

@ -423,7 +423,7 @@ main( void )
t = get_token( NULL );
if (!t) {
printf( "Missing instruction name\n" );
printf( "instruction: missing instruction name\n" );
continue;
}
@ -433,6 +433,8 @@ main( void )
}
part_set_instruction( ps->parts[n], t );
if (ps->parts[n]->active_instruction == NULL)
printf( "instruction: unknown instruction %s\n", t );
continue;
}

Loading…
Cancel
Save