From 5740779b7bc9073196154ec93c3f42488504c014 Mon Sep 17 00:00:00 2001 From: Stephane D'Alu Date: Tue, 2 Feb 2016 22:03:37 +0100 Subject: updated comments --- os/hal/ports/NRF51/NRF51822/serial_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal') diff --git a/os/hal/ports/NRF51/NRF51822/serial_lld.c b/os/hal/ports/NRF51/NRF51822/serial_lld.c index 1451857..550a070 100644 --- a/os/hal/ports/NRF51/NRF51822/serial_lld.c +++ b/os/hal/ports/NRF51/NRF51822/serial_lld.c @@ -124,10 +124,10 @@ static void configure_uart(const SerialConfig *config) /* Set baud rate */ NRF_UART0->BAUDRATE = speed; - /* Set parity */ + /* Set config */ NRF_UART0->CONFIG = (UART_CONFIG_PARITY_Excluded << UART_CONFIG_PARITY_Pos); - /* Set flow control */ + /* Adjust flow control */ #if (NRF51_SERIAL_USE_HWFLOWCTRL == TRUE) if ((config->rts_pad < TOTAL_GPIO_PADS) || (config->cts_pad < TOTAL_GPIO_PADS)) { -- cgit v1.2.3