Commit d99154f4 authored by Piotr Dymacz's avatar Piotr Dymacz Committed by Jamie
Browse files

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: 433b8480 ("zephyr: Move IO functions out of main to separate file")
Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
parent c43a20fd
Loading
Loading
Loading
Loading
+1 −1
Changes for boot/zephyr/main.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -407,7 +407,7 @@ int main(void)

#ifdef CONFIG_MCUBOOT_INDICATION_LED
    /* LED init */
    led_init();
    io_led_init();
#endif

    os_heap_init();