Remove pub and cfg's, since they will be implied by the existance of TxDma<T> in theory.
This commit is contained in:
parent
a88f0028ef
commit
38b1359c40
@ -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>,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user