summaryrefslogtreecommitdiff
path: root/src/flash/str7x.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:49:06 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:49:06 +0000
commitc493543fc93cb693abab3146e08314b63d137470 (patch)
treeb6cf56fb5a2cc0d0f7460bae8bd3acec8ceca6f8 /src/flash/str7x.c
parentdc575dc5bf8cb597a0e9a47794744ae6b1928087 (diff)
downloadopenocd_libswd-c493543fc93cb693abab3146e08314b63d137470.tar.gz
openocd_libswd-c493543fc93cb693abab3146e08314b63d137470.tar.bz2
openocd_libswd-c493543fc93cb693abab3146e08314b63d137470.tar.xz
openocd_libswd-c493543fc93cb693abab3146e08314b63d137470.zip
- Replace '){' with ') {'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2378 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/str7x.c')
-rw-r--r--src/flash/str7x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/str7x.c b/src/flash/str7x.c
index a0904182..902d0336 100644
--- a/src/flash/str7x.c
+++ b/src/flash/str7x.c
@@ -273,7 +273,7 @@ static int str7x_erase(struct flash_bank_s *bank, int first, int last)
cmd = FLASH_SER | FLASH_WMS;
target_write_u32(target, str7x_get_flash_adr(bank, FLASH_CR0), cmd);
- while (((retval = str7x_status(bank)) & str7x_info->busy_bits)){
+ while (((retval = str7x_status(bank)) & str7x_info->busy_bits)) {
alive_sleep(1);
}
@@ -329,7 +329,7 @@ static int str7x_protect(struct flash_bank_s *bank, int set, int first, int last
cmd = FLASH_SPR | FLASH_WMS;
target_write_u32(target, str7x_get_flash_adr(bank, FLASH_CR0), cmd);
- while (((retval = str7x_status(bank)) & str7x_info->busy_bits)){
+ while (((retval = str7x_status(bank)) & str7x_info->busy_bits)) {
alive_sleep(1);
}