Remove pub and cfg's, since they will be implied by the existance of TxDma<T> in theory.

This commit is contained in:
Bob McWhirter 2021-07-14 14:35:03 -04:00
parent a88f0028ef
commit 38b1359c40

View file

@ -69,8 +69,7 @@ impl<'d, T: Instance, TxDma, RxDma> Uart<'d, T, TxDma, RxDma> {
}
}
#[cfg(any(dma, dmamux))]
pub async fn write_dma(&mut self, buffer: &[u8]) -> Result<(), Error>
async fn write_dma(&mut self, buffer: &[u8]) -> Result<(), Error>
where
TxDma: crate::usart::TxDma<T>,
{