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 a48e6cfd..81c1801d 100644 --- a/src/flash/ocl/at91sam7x/samflash.c +++ b/src/flash/ocl/at91sam7x/samflash.c @@ -175,7 +175,7 @@ int flash_erase_all(void) { int result; - if ((result=flash_erase_plane(0))!=FLASH_STAT_OK) return result; + if ((result=flash_erase_plane(0)) != FLASH_STAT_OK) return result; /* the second flash controller, if any */ if (flash_page_count>1024) result=flash_erase_plane(0x10); |