aboutsummaryrefslogtreecommitdiff
path: root/src/flash/flash.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:56 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:56 +0000
commit9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b (patch)
tree454f5975d6d44abec57d19aa50f11e773af2273f /src/flash/flash.c
parent50c086ffb94f199c088f4cc52b7887b668dddf00 (diff)
downloadriscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.zip
riscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.gz
riscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.bz2
- Replace 'switch(' with 'switch ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2359 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 aa3be95..02505b0 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -751,7 +751,7 @@ static int handle_flash_fill_command(struct command_context_s *cmd_ctx, char *cm
if (count == 0)
return ERROR_OK;
- switch(cmd[4])
+ switch (cmd[4])
{
case 'w':
wordsize=4;
@@ -767,7 +767,7 @@ static int handle_flash_fill_command(struct command_context_s *cmd_ctx, char *cm
}
chunk_count = MIN(count, (1024 / wordsize));
- switch(wordsize)
+ switch (wordsize)
{
case 4:
for(i = 0; i < chunk_count; i++)