Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
periph/uart: Fix doc, use errno for return values
Some terminology issues are fixed. (The speed of an UART interface is the symbol rate. The unit it is measured in is baud, which is symbols per second. There is no such thing as baudrate or even baud/s.) The return codes are changed to use negative errno constants on error to match the driver design rules. For backward compatibility, the enum was updated to match the error codes. Unless an application depends on the exact numerical value (which would be insane), this is not breaking any code.
- Loading branch information
Showing
1 changed file
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters