Fix compilation of ChibiOS UART driver (#16348)
Cherry picked fix from 15724
This commit is contained in:
parent
63646e8906
commit
4fd04b2371
@ -44,7 +44,7 @@ void uart_init(uint32_t baud) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void uart_write(uint8_t data) {
|
void uart_write(uint8_t data) {
|
||||||
sdPut(&SERIAL_DRIVER, c);
|
sdPut(&SERIAL_DRIVER, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t uart_read(void) {
|
uint8_t uart_read(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user