diff options
Diffstat (limited to 'src/flash/ocl')
-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 d7c21f7..66a857b 100644 --- a/src/flash/ocl/at91sam7x/samflash.c +++ b/src/flash/ocl/at91sam7x/samflash.c @@ -82,7 +82,7 @@ int flash_page_program(uint32 *data, int page_num) uint32 *data_ptr; /* select proper controller */ - if (page_num>=1024) efc_ofs=0x10; + if (page_num >= 1024) efc_ofs=0x10; else efc_ofs=0; /* wait until FLASH is ready, just for sure */ |