mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-14 12:02:38 +08:00
AP_HAL_ChibiOS: implement pseudo-flushing for buffered UARTS
This commit is contained in:
1 parent
05bda89516
commit
eaa414bb0c
1 file changed
+1
-1
@@ -634,7 +634,7 @@ void UARTDriver::flush()
|
||||
sduSOFHookI((SerialUSBDriver*)sdef.serial);
|
||||
#endif
|
||||
} else {
|
||||
//TODO: Handle this for other serial ports
|
||||
chEvtSignal(uart_thread_ctx, EVT_TRANSMIT_DATA_READY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user