diff --git a/src/drivers/usart/usart_windows.c b/src/drivers/usart/usart_windows.c index 91ffe87d5..2e561edf5 100644 --- a/src/drivers/usart/usart_windows.c +++ b/src/drivers/usart/usart_windows.c @@ -196,6 +196,12 @@ void usart_putstr(char* buf, int bufsz) { LeaveCriticalSection(&txSection); } +void usart_putc(char c) { + EnterCriticalSection(&txSection); + prvSendData(&c, 1); + LeaveCriticalSection(&txSection); +} + void usart_insert(char c, void *pxTaskWoken) { /* redirect debug output to stdout */ printf("%c", c);