forked from paparazzi/paparazzi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request paparazzi#1110 from paparazzi/linux_uart_fix
[arch/linux] fix uart driver - make sure the output flags are properly reset for raw mode. Specifically OPOST, clear some others as well to be safe... - put byte in queue if write was interrupted and only advance extract index if write was successful This solves the issue of some bytes not being written (at least on BBB with PREEMPT kernel)
- Loading branch information
Showing
2 changed files
with
16 additions
and
5 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
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