Browse Source

Rick Altherr <kc8apf@kc8apf.net> - fix flash write_bank output.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1120 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.1.0
oharboe 15 years ago
parent
commit
b2164dd211
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/flash/flash.c

+ 1
- 1
src/flash/flash.c View File

@@ -875,7 +875,7 @@ int handle_flash_write_bank_command(struct command_context_s *cmd_ctx, char *cmd
fileio_close(&fileio); fileio_close(&fileio);
return retvaltemp; return retvaltemp;
} }
if (retval!=ERROR_OK)
if (retval==ERROR_OK)
{ {
command_print(cmd_ctx, "wrote %"PRIi64" byte from file %s to flash bank %i at offset 0x%8.8x in %s (%f kb/s)", command_print(cmd_ctx, "wrote %"PRIi64" byte from file %s to flash bank %i at offset 0x%8.8x in %s (%f kb/s)",
fileio.size, args[1], strtoul(args[0], NULL, 0), offset, duration_text, fileio.size, args[1], strtoul(args[0], NULL, 0), offset, duration_text,


Loading…
Cancel
Save