diff options
Diffstat (limited to 'src/flash/ocl/at91sam7x/samflash.c')
-rw-r--r-- | src/flash/ocl/at91sam7x/samflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/ocl/at91sam7x/samflash.c b/src/flash/ocl/at91sam7x/samflash.c index bcb6dd09..1dcc9f9d 100644 --- a/src/flash/ocl/at91sam7x/samflash.c +++ b/src/flash/ocl/at91sam7x/samflash.c @@ -189,7 +189,7 @@ int flash_verify(uint32 adr, unsigned int len, uint8 *src) unsigned char *flash_ptr; flash_ptr = (uint8 *)FLASH_AREA_ADDR + adr; - for ( ;len; len--) { + for (;len; len--) { if (*(flash_ptr++)!=*(src++)) return FLASH_STAT_VERIFE; } return FLASH_STAT_OK; |