AP_HAL: add accessor for UART dma status

This commit is contained in:
Andy Piper 2021-05-01 13:00:36 +01:00 committed by Andrew Tridgell
parent e26fc95352
commit 4d4d3683b6

View File

@ -119,4 +119,9 @@ public:
virtual uint32_t bw_in_kilobytes_per_second() const {
return 57;
}
/*
return true if this UART has DMA enabled on both RX and TX
*/
virtual bool is_dma_enabled() const { return false; }
};