AP_HAL_SITL: fixed get_baud_rate()

This commit is contained in:
Andrew Tridgell 2024-02-28 17:11:31 +11:00
parent cfad74ce6b
commit 6a16cbf3bb
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ public:
*/ */
uint64_t receive_time_constraint_us(uint16_t nbytes) override; uint64_t receive_time_constraint_us(uint16_t nbytes) override;
uint32_t get_baud_rate() const override { return _uart_baudrate; }
private: private:
int _fd; int _fd;