[riot-notifications] [RIOT-OS/RIOT] cpu/stm32_common: prevent uart write stuck (#11107)

Toon Stegen notifications at github.com
Tue Mar 5 17:22:28 CET 2019


The I2C driver solves this the same way by using a tick in the busy loop:
https://github.com/RIOT-OS/RIOT/blob/master/cpu/stm32_common/periph/i2c_1.c#L338

and a driver constant:
https://github.com/RIOT-OS/RIOT/blob/master/cpu/stm32_common/periph/i2c_1.c#L50

To me it seems best to do it the same way here and add a return code to the API.

-- 
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/11107#issuecomment-469744481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190305/2a330bd5/attachment.html>


More information about the notifications mailing list