From 2bf81361687d4af9d6d847f3cb0eff4fc6d534b1 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 20 Oct 2015 13:10:01 +0200 Subject: [PATCH] boards/yunjia-nrf51822: adapted to UART changes --- boards/yunjia-nrf51822/include/board.h | 2 +- boards/yunjia-nrf51822/include/periph_conf.h | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/boards/yunjia-nrf51822/include/board.h b/boards/yunjia-nrf51822/include/board.h index 8aa664b20f..1f89bb37fd 100644 --- a/boards/yunjia-nrf51822/include/board.h +++ b/boards/yunjia-nrf51822/include/board.h @@ -47,7 +47,7 @@ extern "C" { * @name Define the boards stdio * @{ */ -#define STDIO UART_0 +#define STDIO UART_DEV(0) #define STDIO_BAUDRATE (115200U) #define STDIO_RX_BUFSIZE (64U) /** @} */ diff --git a/boards/yunjia-nrf51822/include/periph_conf.h b/boards/yunjia-nrf51822/include/periph_conf.h index 2e62beb504..f303eb6809 100644 --- a/boards/yunjia-nrf51822/include/periph_conf.h +++ b/boards/yunjia-nrf51822/include/periph_conf.h @@ -76,12 +76,9 @@ extern "C" { * @{ */ #define UART_NUMOF (1U) -#define UART_0_EN 1 -#define UART_IRQ_PRIO 1 - /* UART pin configuration */ -#define UART_PIN_RX 1 -#define UART_PIN_TX 2 +#define UART_PIN_RX 1 +#define UART_PIN_TX 2 /** @} */ /**