openMMC icon indicating copy to clipboard operation
openMMC copied to clipboard

Enable UART interrupts and buffering to avoid blocking

Open augustofg opened this issue 5 years ago • 0 comments

Writing to the serial port blocks the task for several milliseconds as it is not buffered now. A better approach would be to enable TX UART interrupts and use a ring buffer to avoid blocking in every write to the serial port.

augustofg avatar Dec 16 '20 12:12 augustofg