X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Fstr7x.c;h=13b22be54f1f222861bc70ec6086fc3f487bfe7e;hb=50c086ffb94f199c088f4cc52b7887b668dddf00;hp=4313952146d36166fc921c6df78f5079bb0b0677;hpb=e43979e7020ea9d05a3c0a2af444f292eacb6c53;p=fw%2Fopenocd diff --git a/src/flash/str7x.c b/src/flash/str7x.c index 431395214..13b22be54 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--;