From a75110296d10bf00315caeae429a0dbc4458ddad Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Tue, 20 Jul 2021 13:48:54 -0400 Subject: [PATCH] Annotate to avoid unused warnings for the moment. --- embassy-stm32/src/spi/v3.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embassy-stm32/src/spi/v3.rs b/embassy-stm32/src/spi/v3.rs index 6a6a0155..bd3c7428 100644 --- a/embassy-stm32/src/spi/v3.rs +++ b/embassy-stm32/src/spi/v3.rs @@ -174,14 +174,17 @@ impl<'d, T: Instance, Tx, Rx> Spi<'d, T, Tx, Rx> { } } + #[allow(unused)] async fn write_dma_u8(&mut self, write: &[u8]) -> Result<(), Error> { unimplemented!() } + #[allow(unused)] async fn read_dma_u8(&mut self, read: &mut [u8]) -> Result<(), Error> { unimplemented!() } + #[allow(unused)] async fn read_write_dma_u8(&mut self, read: &mut [u8], write: &[u8]) -> Result<(), Error> { unimplemented!() }