mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 08:53:56 -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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
_readbuf.empty();
|
_readbuf.clear();
|
||||||
|
|
||||||
if (!_rts_is_active) {
|
if (!_rts_is_active) {
|
||||||
update_rts_line();
|
update_rts_line();
|
||||||
|
Loading…
Reference in New Issue
Block a user