[ 1249554 ] Writemem command to write to SRAM (compile fix)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@729 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Kolja Waschk 17 years ago
parent cde1820a57
commit 102a33084e

@ -88,8 +88,8 @@ writemem( bus_t *bus, FILE *f, uint32_t addr, uint32_t len )
printf( "\r" );
fflush( stdout );
if (bc != 0)
printf( _("Data not on word boundary, NOT SUPPORTED!"), bc);
if feof(f) {
printf( _("Data not on word boundary, NOT SUPPORTED!"));
if (feof(f)) {
printf( _("Unexpected end of file!\n"));
printf( _("Addr: 0x%08X\n"), a);
break;

Loading…
Cancel
Save