mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 10:03:50 +01:00
boards/slwstk6220a: adapted to GPIO changes
This commit is contained in:
parent
ba13a74a7e
commit
e4e23a002c
@ -26,11 +26,11 @@ void board_init(void)
|
|||||||
{
|
{
|
||||||
/* enable access to the evaluation board controller chip. Without this, the
|
/* enable access to the evaluation board controller chip. Without this, the
|
||||||
* board controller does not forward the UART output to the USB port */
|
* 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);
|
gpio_set(BC_PIN);
|
||||||
/* initialize the boards LEDs */
|
/* initialize the boards LEDs */
|
||||||
gpio_init(LED0_PIN, GPIO_DIR_OUT, GPIO_NOPULL);
|
gpio_init(LED0_PIN, GPIO_OUT);
|
||||||
gpio_init(LED1_PIN, GPIO_DIR_OUT, GPIO_NOPULL);
|
gpio_init(LED1_PIN, GPIO_OUT);
|
||||||
/* initialize the CPU */
|
/* initialize the CPU */
|
||||||
cpu_init();
|
cpu_init();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user