Skip to content
Snippets Groups Projects
Commit 528b07ec authored by Peter Kietzmann's avatar Peter Kietzmann
Browse files

Merge pull request #5358 from jfischer-phytec-iot/pr@fix-led

boards/pba-d-01-kw2x/board.c: fix leds default state
parents 1bbd99b0 e2b5468b
No related branches found
No related tags found
No related merge requests found
...@@ -27,8 +27,11 @@ void board_init(void) ...@@ -27,8 +27,11 @@ void board_init(void)
{ {
/* initialize the on-board LEDs */ /* initialize the on-board LEDs */
gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED0_PIN, GPIO_OUT);
gpio_set(LED0_PIN);
gpio_init(LED1_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT);
gpio_set(LED1_PIN);
gpio_init(LED2_PIN, GPIO_OUT); gpio_init(LED2_PIN, GPIO_OUT);
gpio_set(LED2_PIN);
/* initialize the CPU core */ /* initialize the CPU core */
cpu_init(); cpu_init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment