summaryrefslogtreecommitdiff
path: root/src/flash/cfi.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:39:18 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:39:18 +0000
commitd61714f4d5d72f9f39fbccbb1c3ba5f3d8982020 (patch)
tree9da1225902da0c661ac9880f17c30d753d99bc17 /src/flash/cfi.c
parent53d605e12c3765aeedabf2bfe0c5cc338dc95d5a (diff)
downloadopenocd+libswd-d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020.tar.gz
openocd+libswd-d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020.tar.bz2
openocd+libswd-d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020.tar.xz
openocd+libswd-d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020.zip
- Fixes '[+]=' whitespace
- Replace '\(\w\)\([+]=\)(' with '\1 \2 ('. - Replace '\(\w\)\([+]=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2364 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/cfi.c')
-rw-r--r--src/flash/cfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c
index f6ddead3..1d4ae537 100644
--- a/src/flash/cfi.c
+++ b/src/flash/cfi.c
@@ -1014,7 +1014,7 @@ static void cfi_fix_code_endian(target_t *target, uint8_t *dest, const uint32_t
for (i=0; i< count; i++)
{
target_buffer_set_u32(target, dest, *src);
- dest+=4;
+ dest += 4;
src++;
}
}