diff --git a/platforms/chibios/drivers/uart.c b/platforms/chibios/drivers/uart.c index dbe991efa35..4884d7024f6 100644 --- a/platforms/chibios/drivers/uart.c +++ b/platforms/chibios/drivers/uart.c @@ -44,7 +44,7 @@ void uart_init(uint32_t baud) { } void uart_write(uint8_t data) { - sdPut(&SERIAL_DRIVER, c); + sdPut(&SERIAL_DRIVER, data); } uint8_t uart_read(void) {