diff --git a/libraries/AP_HAL_SITL/UARTDriver.h b/libraries/AP_HAL_SITL/UARTDriver.h index 70d1fa332f..7d08301fc1 100644 --- a/libraries/AP_HAL_SITL/UARTDriver.h +++ b/libraries/AP_HAL_SITL/UARTDriver.h @@ -65,6 +65,8 @@ public: */ uint64_t receive_time_constraint_us(uint16_t nbytes) override; + uint32_t get_baud_rate() const override { return _uart_baudrate; } + private: int _fd;