diff --git a/libraries/AP_HAL_Linux/UARTDriver.h b/libraries/AP_HAL_Linux/UARTDriver.h index fa271cb08a..ec47114cc6 100644 --- a/libraries/AP_HAL_Linux/UARTDriver.h +++ b/libraries/AP_HAL_Linux/UARTDriver.h @@ -56,6 +56,8 @@ public: uint32_t bw_in_bytes_per_second() const override; + uint32_t get_baud_rate() const override { return _baudrate; } + private: AP_HAL::OwnPtr _device; bool _console;