AP_HAL_ChibiOS: implement pseudo-flushing for buffered UARTS

This commit is contained in:
Andy Piper authored and Andrew Tridgell committed 2022-04-20 17:38:08 +10:00
1 parent 05bda89516
commit eaa414bb0c
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}