drivers: UART based drivers could now use uart_flush_input() to discard junk bytes on input.
This commit is contained in:
parent
22e25a8b1e
commit
917717c4ca
5 changed files with 44 additions and 3 deletions
|
|
@ -87,6 +87,12 @@ uart_close (const serial_port sp)
|
|||
free (sp);
|
||||
}
|
||||
|
||||
void
|
||||
uart_flush_input (const serial_port sp)
|
||||
{
|
||||
// TODO: Implement me
|
||||
}
|
||||
|
||||
void
|
||||
uart_set_speed (serial_port sp, const uint32_t uiPortSpeed)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue