summaryrefslogtreecommitdiff
path: root/src/flash/pic32mx.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:44:17 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:44:17 +0000
commit8959de9f679cfd0436d731fd91b88a68b9a75fa6 (patch)
tree8d9bc182b4adc0e718ffafdbd12469d8c8bb14d9 /src/flash/pic32mx.c
parent84df52f9ea78e2d71bde648a16b69d80404c6421 (diff)
downloadopenocd+libswd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.tar.gz
openocd+libswd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.tar.bz2
openocd+libswd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.tar.xz
openocd+libswd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.zip
- Fixes '+' whitespace
- Replace ')\(+\)(' with ') \1 ('. - Replace ')\(+\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(+\)(' with '\1 \2 ('. - Replace '\(\w\)\(+\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2373 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/pic32mx.c')
-rw-r--r--src/flash/pic32mx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/pic32mx.c b/src/flash/pic32mx.c
index 5112482c..3ed2bf5d 100644
--- a/src/flash/pic32mx.c
+++ b/src/flash/pic32mx.c
@@ -923,7 +923,7 @@ static int pic32mx_handle_pgm_word_command(struct command_context_s *cmd_ctx, ch
command_print(cmd_ctx, "flash bank '#%s' is out of bounds", args[2]);
return ERROR_OK;
}
- if (address < bank->base || address >= (bank->base+bank->size))
+ if (address < bank->base || address >= (bank->base + bank->size))
{
command_print(cmd_ctx, "flash address '%s' is out of bounds", args[0]);
return ERROR_OK;