Skip to content

Commit

Permalink
AP_HAL_SITL: fixed get_baud_rate()
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Feb 28, 2024
1 parent 2f5ccd3 commit 767c4da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_HAL_SITL/UARTDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ class HALSITL::UARTDriver : public AP_HAL::UARTDriver {
*/
uint64_t receive_time_constraint_us(uint16_t nbytes) override;

uint32_t get_baud_rate() const override { return _uart_baudrate; }

private:

int _fd;
Expand Down

0 comments on commit 767c4da

Please sign in to comment.