mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_HAL_ChibiOS: correct clearing of UART drivers
This commit is contained in:
parent
c936307ecf
commit
931c77fa77
@ -573,7 +573,7 @@ bool UARTDriver::discard_input()
|
||||
return false;
|
||||
}
|
||||
|
||||
_readbuf.empty();
|
||||
_readbuf.clear();
|
||||
|
||||
if (!_rts_is_active) {
|
||||
update_rts_line();
|
||||
|
Loading…
Reference in New Issue
Block a user