openMMC
openMMC copied to clipboard
Enable UART interrupts and buffering to avoid blocking
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.