[riot-notifications] [RIOT-OS/RIOT] cpu/sam0: optimizations to the shared UART driver (#7556)

Dylan Laduranty notifications at github.com
Mon Sep 4 11:45:53 CEST 2017

I was looking at the code and found something weird.
` if(sercom_gclk_id[sercom_id(_uart(uart))] < 5) {`
Seems like I've introduced some kind of bug with this line as the array` sercom_gclk_id` only contains elements > to 5.
This line should be` if sercom_id(_uart(uart))] < 5.
I don't think this is relate to the uart_poweron location issue but this is troublesome...

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170904/a92609c6/attachment-0001.html>

More information about the notifications mailing list