AP_HAL: add UART baudrate accessor

This commit is contained in:
Andy Piper 2022-12-14 20:32:49 +00:00 committed by Andrew Tridgell
parent e27ab1ebc6
commit 7715e097a6

View File

@ -135,6 +135,8 @@ public:
return 57; return 57;
} }
virtual uint32_t get_baud_rate() const { return 0; }
/* /*
return true if this UART has DMA enabled on both RX and TX return true if this UART has DMA enabled on both RX and TX
*/ */