From 6dbe0494689aa22eeb516e07d7ab48f7ec28bf62 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Wed, 21 Jul 2021 10:55:13 -0400 Subject: [PATCH] Add back in the other versions of SPI. --- embassy-stm32/src/spi/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-stm32/src/spi/mod.rs b/embassy-stm32/src/spi/mod.rs index 046ec0fe..9bb5a729 100644 --- a/embassy-stm32/src/spi/mod.rs +++ b/embassy-stm32/src/spi/mod.rs @@ -1,8 +1,8 @@ #![macro_use] -//#[cfg_attr(spi_v1, path = "v1.rs")] +#[cfg_attr(spi_v1, path = "v1.rs")] #[cfg_attr(spi_v2, path = "v2.rs")] -//#[cfg_attr(spi_v3, path = "v3.rs")] +#[cfg_attr(spi_v3, path = "v3.rs")] mod _version; use crate::{dma, peripherals, rcc::RccPeripheral}; pub use _version::*;