From 4fd04b23714ebfaa9aae75f8ebc4c33b90941aba Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 13 Feb 2022 20:44:44 +0000 Subject: Fix compilation of ChibiOS UART driver (#16348) Cherry picked fix from 15724 --- platforms/chibios/drivers/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platforms') diff --git a/platforms/chibios/drivers/uart.c b/platforms/chibios/drivers/uart.c index dbe991efa3..4884d7024f 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) { -- cgit v1.2.3