summaryrefslogtreecommitdiff
path: root/src/flash/flash.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:40:42 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:40:42 +0000
commit0e2c2fe1d1eec5482078147d551215a58604cc3a (patch)
tree5b829774e1f67afc86acb0a0f968d0a6a4766246 /src/flash/flash.c
parent6319ea33f7369823043eaefdb72b7463e760be27 (diff)
downloadopenocd+libswd-0e2c2fe1d1eec5482078147d551215a58604cc3a.tar.gz
openocd+libswd-0e2c2fe1d1eec5482078147d551215a58604cc3a.tar.bz2
openocd+libswd-0e2c2fe1d1eec5482078147d551215a58604cc3a.tar.xz
openocd+libswd-0e2c2fe1d1eec5482078147d551215a58604cc3a.zip
- Fixes '>>' whitespace
- 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@2369 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/flash.c')
-rw-r--r--src/flash/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index d5bdf60e..60827594 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -374,7 +374,7 @@ static int handle_flash_info_command(struct command_context_s *cmd_ctx, char *cm
j,
p->sectors[j].offset,
p->sectors[j].size,
- p->sectors[j].size>>10,
+ p->sectors[j].size >> 10,
protect_state);
}
@@ -465,7 +465,7 @@ static int handle_flash_erase_check_command(struct command_context_s *cmd_ctx, c
j,
p->sectors[j].offset,
p->sectors[j].size,
- p->sectors[j].size>>10,
+ p->sectors[j].size >> 10,
erase_state);
}
}