Skip to content

Commit

Permalink
Merge pull request #6880 from aabadie/nucleo144_leds
Browse files Browse the repository at this point in the history
boards/nucleo144: fix uninitialized on-board leds
  • Loading branch information
kYc0o committed Apr 19, 2017
2 parents 2e6520d + 7a3af73 commit 2d9e1ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/nucleo144-f303/board.c
Expand Up @@ -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 changes: 2 additions & 0 deletions boards/nucleo144-f429/board.c
Expand Up @@ -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 changes: 2 additions & 0 deletions boards/nucleo144-f446/board.c
Expand Up @@ -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);
}

0 comments on commit 2d9e1ed

Please sign in to comment.