[riot-notifications] [RIOT-OS/RIOT] periph/uart: Fix doc, use errno for return values (#16632)

Kaspar Schleiser notifications at github.com
Fri Jul 9 23:18:06 CEST 2021


I there's already an enum for return values, why try to match errno.h? errno.h is not consistent across platforms. and it does make creation of bindings quite a bit more difficult, because they're suddenly dependent on the C library headers.

IMO the API was fine. changing it *will* cause extra work for others.

And for symbol rate - "baud rate" is so accepted everywhere, everyone understands it. "symbol rate" might be more correct, but where else is it used to specify the baud rate? It would confuse me to see this here.



-- 
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/16632#issuecomment-877461237
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210709/4db5ecec/attachment.htm>


More information about the notifications mailing list