AP_HAL_Linux: fixed get_baud_rate()

This commit is contained in:
Andrew Tridgell 2024-02-28 17:11:31 +11:00 committed by Randy Mackay
parent 80cd126f99
commit 65f7257601
1 changed files with 2 additions and 0 deletions

View File

@ -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<SerialDevice> _device;
bool _console;