Skip to content

Commit

Permalink
Fix compilation of ChibiOS UART driver (#16348)
Browse files Browse the repository at this point in the history
Cherry picked fix from 15724
  • Loading branch information
zvecr authored Feb 13, 2022
1 parent 63646e8 commit 4fd04b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/chibios/drivers/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4fd04b2

Please sign in to comment.