updated comments

This commit is contained in:
Stephane D'Alu 2016-02-02 22:03:37 +01:00
parent 3c7efdb21f
commit 5740779b7b
1 changed files with 2 additions and 2 deletions

View File

@ -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)) {