AP_HAL_Linux: fixed get_baud_rate()

This commit is contained in:
Andrew Tridgell 2024-02-28 17:11:31 +11:00
parent ad93f871d4
commit b4160ddd93
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;