aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob McWhirter <[email protected]>2021-07-14 14:35:03 -0400
committerBob McWhirter <[email protected]>2021-07-14 14:35:03 -0400
commit38b1359c409e6bf285242561838d33e8c3c81927 (patch)
tree8917807a8cd13dc7d8d2e5d672d9286f958d4ed5
parenta88f0028ef2f1c57a66d7c3ed587b1ff2129bec2 (diff)
Remove pub and cfg's, since they will be implied by the existance of TxDma<T> in theory.
-rw-r--r--embassy-stm32/src/usart/v3.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-stm32/src/usart/v3.rs b/embassy-stm32/src/usart/v3.rs
index 6c9696c71..3029bf6e4 100644
--- a/embassy-stm32/src/usart/v3.rs
+++ b/embassy-stm32/src/usart/v3.rs
@@ -69,8 +69,7 @@ impl<'d, T: Instance, TxDma, RxDma> Uart<'d, T, TxDma, RxDma> {
69 } 69 }
70 } 70 }
71 71
72 #[cfg(any(dma, dmamux))] 72 async fn write_dma(&mut self, buffer: &[u8]) -> Result<(), Error>
73 pub async fn write_dma(&mut self, buffer: &[u8]) -> Result<(), Error>
74 where 73 where
75 TxDma: crate::usart::TxDma<T>, 74 TxDma: crate::usart::TxDma<T>,
76 { 75 {