diff options
author | Stephane D'Alu <sdalu@sdalu.com> | 2016-02-02 22:03:37 +0100 |
---|---|---|
committer | Stephane D'Alu <sdalu@sdalu.com> | 2016-02-02 22:03:37 +0100 |
commit | 5740779b7bc9073196154ec93c3f42488504c014 (patch) | |
tree | 5e686a1a31ef2570f541509ad600800749c26616 | |
parent | 3c7efdb21f8c9196aa6d2ff5c21e111ad6e03907 (diff) | |
download | ChibiOS-Contrib-5740779b7bc9073196154ec93c3f42488504c014.tar.gz ChibiOS-Contrib-5740779b7bc9073196154ec93c3f42488504c014.tar.bz2 ChibiOS-Contrib-5740779b7bc9073196154ec93c3f42488504c014.zip |
updated comments
-rw-r--r-- | os/hal/ports/NRF51/NRF51822/serial_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) {
|