Skip to content

Commit 805967b

Browse files
committed
loader: remove warning
1 parent 5369ee0 commit 805967b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

loader/fixups.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <cmsis_core.h>
22
#include <zephyr/init.h>
3-
void disable_mpu_rasr_xn(void)
3+
int disable_mpu_rasr_xn(void)
44
{
55
uint32_t index;
66
/* Kept the max index as 8(irrespective of soc) because the sram
@@ -18,6 +18,7 @@ void disable_mpu_rasr_xn(void)
1818
}
1919
#endif /* CONFIG_ARMV8_M_BASELINE || CONFIG_ARMV8_M_MAINLINE */
2020
}
21+
return 0;
2122
}
2223

2324
#if defined(CONFIG_BOARD_ARDUINO_NANO_33_BLE)

0 commit comments

Comments
 (0)