diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:36:11 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:36:11 +0000 |
commit | 50c086ffb94f199c088f4cc52b7887b668dddf00 (patch) | |
tree | f82cbcc5acf534e762fa623923c2b39de0fc07cd /src/flash/avrf.c | |
parent | e43979e7020ea9d05a3c0a2af444f292eacb6c53 (diff) |
- Replace 'while(' with 'while ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2358 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/avrf.c')
-rw-r--r-- | src/flash/avrf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/avrf.c b/src/flash/avrf.c index fc67178b..e4012da7 100644 --- a/src/flash/avrf.c +++ b/src/flash/avrf.c @@ -156,7 +156,7 @@ static int avr_jtagprg_chiperase(avr_common_t *avr) return ERROR_FAIL; } LOG_DEBUG("poll_value = 0x%04" PRIx32 "", poll_value); - }while(!(poll_value & 0x0200)); + }while (!(poll_value & 0x0200)); return ERROR_OK; } @@ -203,7 +203,7 @@ static int avr_jtagprg_writeflashpage(avr_common_t *avr, uint8_t *page_buf, uint return ERROR_FAIL; } LOG_DEBUG("poll_value = 0x%04" PRIx32 "", poll_value); - }while(!(poll_value & 0x0200)); + }while (!(poll_value & 0x0200)); return ERROR_OK; } @@ -277,7 +277,7 @@ static int avrf_write(struct flash_bank_s *bank, uint8_t *buffer, uint32_t offse } cur_size = 0; - while(count > 0) + while (count > 0) { if (count > page_size) { |