mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-18 19:13:51 +01:00
Since the API doc doesn't specify what to do with 0 len writings into UART, we cannot assume that is safe to do it, so this commit prevents it by checking the length prior to the `uart_write()` operation.