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
/
str9x.c
diff --git
a/src/flash/str9x.c
b/src/flash/str9x.c
index 587c145fd031c702c8aabb4cda54a51424753622..0a75c95388e7188d9b0e47f291eb93141a6058c2 100644
(file)
--- a/
src/flash/str9x.c
+++ b/
src/flash/str9x.c
@@
-607,7
+607,7
@@
static int str9x_write(struct flash_bank_s *bank,
uint8_t last_halfword[2] = {0xff, 0xff};
int i = 0;
- while(bytes_remaining > 0)
+ while
(bytes_remaining > 0)
{
last_halfword[i++] = *(buffer + bytes_written);
bytes_remaining--;