[riot-notifications] [RIOT-OS/RIOT] cpu/cc2538: Add periph_uart_mode implementation (#11503)

Sebastian Meiling notifications at github.com
Mon May 13 21:00:19 CEST 2019


smlng commented on this pull request.



> @@ -157,6 +157,35 @@ int uart_init(uart_t uart, uint32_t baudrate, uart_rx_cb_t rx_cb, void *arg)
     return UART_OK;
 }
 
+#ifdef MODULE_PERIPH_UART_MODECFG
+int uart_mode(uart_t uart, uart_data_bits_t data_bits, uart_parity_t parity,
+              uart_stop_bits_t stop_bits)
+{
+    assert(uart < UART_NUMOF);
+
+    assert( data_bits == UART_DATA_BITS_5 ||

remove space at the beginning and re-align accordingly - apply below too

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11503#pullrequestreview-236859483
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190513/20edf0da/attachment-0001.html>


More information about the notifications mailing list