AP_HAL_ChibiOS: implement pseudo-flushing for buffered UARTS

This commit is contained in:
Andy Piper 2022-04-09 17:07:17 +01:00 committed by Andrew Tridgell
parent 05bda89516
commit eaa414bb0c

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);
}
}