Skip to content

Commit 66de402

Browse files
committed
Hack to get build going
Include 0 in the assert to pass. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 18e241d commit 66de402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/flash/soc_flash_nrf_mram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ LOG_MODULE_REGISTER(flash_nrf_mram, CONFIG_FLASH_LOG_LEVEL);
2525

2626
#define ERASE_VALUE 0xff
2727

28-
BUILD_ASSERT(MRAM_START > 0, "nordic,mram: start address expected to be non-zero");
28+
BUILD_ASSERT(MRAM_START >= 0, "nordic,mram: start address expected to be non-zero");
2929
BUILD_ASSERT((ERASE_BLOCK_SIZE % WRITE_BLOCK_SIZE) == 0,
3030
"erase-block-size expected to be a multiple of write-block-size");
3131

0 commit comments

Comments
 (0)