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/str7x.c | |
parent | e43979e7020ea9d05a3c0a2af444f292eacb6c53 (diff) | |
download | riscv-openocd-50c086ffb94f199c088f4cc52b7887b668dddf00.zip riscv-openocd-50c086ffb94f199c088f4cc52b7887b668dddf00.tar.gz riscv-openocd-50c086ffb94f199c088f4cc52b7887b668dddf00.tar.bz2 |
- Replace 'while(' with 'while ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2358 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/str7x.c')
-rw-r--r-- | src/flash/str7x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/str7x.c b/src/flash/str7x.c index 4313952..13b22be 100644 --- a/src/flash/str7x.c +++ b/src/flash/str7x.c @@ -578,7 +578,7 @@ static int str7x_write(struct flash_bank_s *bank, uint8_t *buffer, uint32_t offs uint8_t last_dword[8] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; int i = 0; - while(bytes_remaining > 0) + while (bytes_remaining > 0) { last_dword[i++] = *(buffer + bytes_written); bytes_remaining--; |