AP_HAL: Update comment on UARTDriver::begin to reflect automatic

clearing
This commit is contained in:
Michael du Breuil 2018-06-20 02:00:00 -07:00 committed by Francisco Ferreira
parent 3af6b78d67
commit a92c4aa9fd
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
class AP_HAL::UARTDriver : public AP_HAL::BetterStream {
public:
UARTDriver() {}
// begin() implicitly clears rx/tx buffers, even if the port was already open (unless the UART is the console UART)
virtual void begin(uint32_t baud) = 0;
/// Extended port open method
///