Skip to content

Commit d99154f

Browse files
pepe2knordicjm
authored andcommitted
zephyr: rename 'led_init()' to 'io_led_init()'
This fixes below warning when building with 'MCUBOOT_INDICATION_LED' enabled: mcuboot/boot/zephyr/main.c:410:5: warning: implicit declaration of function 'led_init'; did you mean 'io_led_init'? [-Wimplicit-function-declaration] 410 | led_init(); | ^~~~~~~~ | io_led_init Fixes: 433b848 ("zephyr: Move IO functions out of main to separate file") Signed-off-by: Piotr Dymacz <[email protected]>
1 parent c43a20f commit d99154f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ int main(void)
407407

408408
#ifdef CONFIG_MCUBOOT_INDICATION_LED
409409
/* LED init */
410-
led_init();
410+
io_led_init();
411411
#endif
412412

413413
os_heap_init();

0 commit comments

Comments
 (0)