Skip to content

Commit e5a42e3

Browse files
committed
nrf5340: match hal_flash_protect signature
1 parent c51bb6a commit e5a42e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hal/nrf5340.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ void hal_init(void)
827827

828828
#ifdef __WOLFBOOT
829829
/* enable write protection for the region of flash specified */
830-
int RAMFUNCTION hal_flash_protect(uint32_t start, uint32_t len)
830+
int RAMFUNCTION hal_flash_protect(haladdr_t start, int len)
831831
{
832832
/* only application core supports SPU */
833833
#ifdef TARGET_nrf5340_app

0 commit comments

Comments
 (0)