Fix compilation of ChibiOS UART driver (#16348)

Cherry picked fix from 15724
master
Joel Challis 2022-02-13 20:44:44 +00:00 committed by GitHub
parent 63646e8906
commit 4fd04b2371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {