diff --git a/libraries/AP_HAL/UARTDriver.h b/libraries/AP_HAL/UARTDriver.h index 9a4cb61ecc..ecd671fda6 100644 --- a/libraries/AP_HAL/UARTDriver.h +++ b/libraries/AP_HAL/UARTDriver.h @@ -135,6 +135,8 @@ public: return 57; } + virtual uint32_t get_baud_rate() const { return 0; } + /* return true if this UART has DMA enabled on both RX and TX */