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