nrf/drivers/flash: Fix incorrect page alignment check.
This commit is contained in:
parent
6a31dcd638
commit
7067ac3573
|
@ -38,7 +38,7 @@
|
|||
#error Unknown chip
|
||||
#endif
|
||||
|
||||
#define FLASH_IS_PAGE_ALIGNED(addr) ((uint32_t)(addr) & (FLASH_PAGESIZE - 1))
|
||||
#define FLASH_IS_PAGE_ALIGNED(addr) (((uint32_t)(addr) & (FLASH_PAGESIZE - 1)) == 0)
|
||||
|
||||
#if BLUETOOTH_SD
|
||||
|
||||
|
|
Loading…
Reference in New Issue