Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platforms/nuttx: Serial change fsync to tcdrain
Calling serial::write() in quick succession was blowing away the previous buffer, fsync does not guarantee that data is transmitted on serial lines. On the other hand tcdrain waits until the output buffer is empty.
- Loading branch information