diff options
author | Joel Challis <git@zvecr.com> | 2022-02-13 20:44:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 20:44:44 +0000 |
commit | 4fd04b23714ebfaa9aae75f8ebc4c33b90941aba (patch) | |
tree | e2295c5115c3ef5a19d2049765994fb2304a1621 /platforms/chibios/drivers | |
parent | 63646e8906e062d1c1de3925cba70c4e3426a855 (diff) |
Fix compilation of ChibiOS UART driver (#16348)
Cherry picked fix from 15724
Diffstat (limited to 'platforms/chibios/drivers')
-rw-r--r-- | platforms/chibios/drivers/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |