diff options
author | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-12-17 20:14:12 +0000 |
---|---|---|
committer | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-12-17 20:14:12 +0000 |
commit | 835e0436e8e982ab218b8ad6a68aee2f9507252d (patch) | |
tree | 7b741cd608db97621a7f64b756dbd1a05f03d727 | |
parent | a66df4104e6d4ec4b5bd4c1b8eda238af00010ab (diff) | |
download | openocd_libswd-835e0436e8e982ab218b8ad6a68aee2f9507252d.tar.gz openocd_libswd-835e0436e8e982ab218b8ad6a68aee2f9507252d.tar.bz2 openocd_libswd-835e0436e8e982ab218b8ad6a68aee2f9507252d.tar.xz openocd_libswd-835e0436e8e982ab218b8ad6a68aee2f9507252d.zip |
- added patch to corrected argument of image_open in handle_flash_write_image_command
(thanks to oyvind Harboe for the patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@237 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/flash/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c index 2271f603..4b18bc35 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -564,7 +564,7 @@ int handle_flash_write_image_command(struct command_context_s *cmd_ctx, char *cm image.start_address_set = 0; - retval = image_open(&image, args[0], (argc == 4) ? args[2] : NULL); + retval = image_open(&image, args[0], (argc == 3) ? args[2] : NULL); if (retval != ERROR_OK) { command_print(cmd_ctx, "image_open error: %s", image.error_str); |