[riot-notifications] [RIOT-OS/RIOT] cpu/efm32/uart: fix handling of RX when no RX callback is configured (#12278)

Bas Stottelaar notifications at github.com
Tue Sep 24 13:52:32 CEST 2019


basilfx commented on this pull request.

I've tested this on the STK3600, SLSTK3401 and SLSTK3402. Works!

Please squash.

> @@ -131,15 +129,16 @@ int uart_init(uart_t dev, uint32_t baudrate, uart_rx_cb_t rx_cb, void *arg)
 
         /* enable receive interrupt */
         LEUART_IntEnable(leuart, LEUART_IEN_RXDATAV);

I don't know any disadvantages, so I guess this is OK.

-- 
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/12278#pullrequestreview-291524302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190924/fda9b8ed/attachment-0001.htm>


More information about the notifications mailing list