projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Replace 'while(' with 'while ('.
[fw/openocd]
/
src
/
flash
/
str7x.c
diff --git
a/src/flash/str7x.c
b/src/flash/str7x.c
index 4313952146d36166fc921c6df78f5079bb0b0677..13b22be54f1f222861bc70ec6086fc3f487bfe7e 100644
(file)
--- 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--;