diff options
| author | Bob McWhirter <[email protected]> | 2021-07-20 13:48:54 -0400 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-07-23 13:22:39 -0400 |
| commit | a75110296d10bf00315caeae429a0dbc4458ddad (patch) | |
| tree | 3913a3d0aa256bec7bb0f53ba84f65a5e4d7d17f | |
| parent | 3f379e06b0351ca21c9d1001c68d39c9c26cdc02 (diff) | |
Annotate to avoid unused warnings for the moment.
| -rw-r--r-- | embassy-stm32/src/spi/v3.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-stm32/src/spi/v3.rs b/embassy-stm32/src/spi/v3.rs index 6a6a01550..bd3c74288 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> { | |||
| 174 | } | 174 | } |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | #[allow(unused)] | ||
| 177 | async fn write_dma_u8(&mut self, write: &[u8]) -> Result<(), Error> { | 178 | async fn write_dma_u8(&mut self, write: &[u8]) -> Result<(), Error> { |
| 178 | unimplemented!() | 179 | unimplemented!() |
| 179 | } | 180 | } |
| 180 | 181 | ||
| 182 | #[allow(unused)] | ||
| 181 | async fn read_dma_u8(&mut self, read: &mut [u8]) -> Result<(), Error> { | 183 | async fn read_dma_u8(&mut self, read: &mut [u8]) -> Result<(), Error> { |
| 182 | unimplemented!() | 184 | unimplemented!() |
| 183 | } | 185 | } |
| 184 | 186 | ||
| 187 | #[allow(unused)] | ||
| 185 | async fn read_write_dma_u8(&mut self, read: &mut [u8], write: &[u8]) -> Result<(), Error> { | 188 | async fn read_write_dma_u8(&mut self, read: &mut [u8], write: &[u8]) -> Result<(), Error> { |
| 186 | unimplemented!() | 189 | unimplemented!() |
| 187 | } | 190 | } |
