diff options
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 43139521..13b22be5 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--; |