AP_HAL_ChibiOS: return correct value for tx_pending().

This commit is contained in:
Andy Piper 2021-08-03 18:42:07 +01:00 committed by Andrew Tridgell
parent 6f53337b88
commit f71b951cb2
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ void UARTDriver::set_blocking_writes(bool blocking)
_blocking_writes = blocking;
}
bool UARTDriver::tx_pending() { return false; }
bool UARTDriver::tx_pending() { return _writebuf.available() > 0; }
/*