summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'platforms')
-rw-r--r--platforms/chibios/drivers/uart.c2
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) {