mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 17:48:35 -04:00
AP_HAL_ChibiOS: add UART baudrate accessor
This commit is contained in:
parent
0f90672bcd
commit
2e29f2664b
@ -141,6 +141,8 @@ public:
|
|||||||
return _baudrate/(9*1024);
|
return _baudrate/(9*1024);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t get_baud_rate() const override { return _baudrate; }
|
||||||
|
|
||||||
#if HAL_UART_STATS_ENABLED
|
#if HAL_UART_STATS_ENABLED
|
||||||
// request information on uart I/O for one uart
|
// request information on uart I/O for one uart
|
||||||
void uart_info(ExpandingString &str) override;
|
void uart_info(ExpandingString &str) override;
|
||||||
|
Loading…
Reference in New Issue
Block a user