diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-30 23:57:30 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-30 23:57:30 +0000 |
commit | 58e31916def8db0e0b082b71d05c821428175bfd (patch) | |
tree | 9ba2d0680db36c49cba9669e9e74e4da5dcf8588 /src/flash/ecos.c | |
parent | 335fee3f36bd491197f8bd987baa6a7390f1750d (diff) | |
download | openocd_libswd-58e31916def8db0e0b082b71d05c821428175bfd.tar.gz openocd_libswd-58e31916def8db0e0b082b71d05c821428175bfd.tar.bz2 openocd_libswd-58e31916def8db0e0b082b71d05c821428175bfd.tar.xz openocd_libswd-58e31916def8db0e0b082b71d05c821428175bfd.zip |
Eliminate duplicated code in the handle_mw_command memory write loop.
- wordsize will always be 1, 2, or 4 due to preceeding switch statement.
- move call to keep_alive after successful writes, not upon failures
git-svn-id: svn://svn.berlios.de/openocd/trunk@1953 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/ecos.c')
0 files changed, 0 insertions, 0 deletions