summaryrefslogtreecommitdiff
path: root/bsp/nrf51822/drivers/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/nrf51822/drivers/uart.c')
-rw-r--r--bsp/nrf51822/drivers/uart.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/nrf51822/drivers/uart.c b/bsp/nrf51822/drivers/uart.c
index 4c3bd8d6ba..b884be6ebe 100644
--- a/bsp/nrf51822/drivers/uart.c
+++ b/bsp/nrf51822/drivers/uart.c
@@ -185,10 +185,10 @@ void rt_hw_uart_init(void)
rt_ringbuffer_init(&(uart->rx_rb), rx_buffer, sizeof(rx_buffer));
/* device interface */
- uart->parent.init = rt_uart_init;
- uart->parent.open = rt_uart_open;
+ uart->parent.init = rt_uart_init;
+ uart->parent.open = rt_uart_open;
uart->parent.close = rt_uart_close;
- uart->parent.read = rt_uart_read;
+ uart->parent.read = rt_uart_read;
uart->parent.write = rt_uart_write;
uart->parent.control = RT_NULL;
uart->parent.user_data = RT_NULL;