Browse Source

boards/slwstk6220a: adapted to GPIO changes

pr/gpio
Hauke Petersen 7 years ago
parent
commit
e4e23a002c
  1. 6
      boards/slwstk6220a/board.c

6
boards/slwstk6220a/board.c

@ -26,11 +26,11 @@ void board_init(void)
{
/* enable access to the evaluation board controller chip. Without this, the
* board controller does not forward the UART output to the USB port */
gpio_init(BC_PIN, GPIO_DIR_OUT, GPIO_NOPULL);
gpio_init(BC_PIN, GPIO_OUT);
gpio_set(BC_PIN);
/* initialize the boards LEDs */
gpio_init(LED0_PIN, GPIO_DIR_OUT, GPIO_NOPULL);
gpio_init(LED1_PIN, GPIO_DIR_OUT, GPIO_NOPULL);
gpio_init(LED0_PIN, GPIO_OUT);
gpio_init(LED1_PIN, GPIO_OUT);
/* initialize the CPU */
cpu_init();
}

Loading…
Cancel
Save