Browse Source

boards/nucleo144: fix uninitialized on-board leds

master
Alexandre Abadie 6 years ago
parent
commit
7a3af73552
  1. 2
      boards/nucleo144-f303/board.c
  2. 2
      boards/nucleo144-f429/board.c
  3. 2
      boards/nucleo144-f446/board.c

2
boards/nucleo144-f303/board.c

@ -28,4 +28,6 @@ void board_init(void)
/* initialize the boards LEDs */
gpio_init(LED0_PIN, GPIO_OUT);
gpio_init(LED1_PIN, GPIO_OUT);
gpio_init(LED2_PIN, GPIO_OUT);
}

2
boards/nucleo144-f429/board.c

@ -28,4 +28,6 @@ void board_init(void)
/* initialize the boards LEDs */
gpio_init(LED0_PIN, GPIO_OUT);
gpio_init(LED1_PIN, GPIO_OUT);
gpio_init(LED2_PIN, GPIO_OUT);
}

2
boards/nucleo144-f446/board.c

@ -28,4 +28,6 @@ void board_init(void)
/* initialize the boards LEDs */
gpio_init(LED0_PIN, GPIO_OUT);
gpio_init(LED1_PIN, GPIO_OUT);
gpio_init(LED2_PIN, GPIO_OUT);
}

Loading…
Cancel
Save