X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fstr9x.c;h=0a75c95388e7188d9b0e47f291eb93141a6058c2;hp=587c145fd031c702c8aabb4cda54a51424753622;hb=50c086ffb94f199c088f4cc52b7887b668dddf00;hpb=e43979e7020ea9d05a3c0a2af444f292eacb6c53 diff --git a/src/flash/str9x.c b/src/flash/str9x.c index 587c145fd0..0a75c95388 100644 --- 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--;