From e67af514e921b3b28b4c20a88554c4d7cbef7951 Mon Sep 17 00:00:00 2001 From: Joshua Salzedo Date: Sun, 26 Sep 2021 19:15:54 -0700 Subject: [PATCH] Fix v2/3 module paths --- embassy-stm32/src/crc/mod.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/embassy-stm32/src/crc/mod.rs b/embassy-stm32/src/crc/mod.rs index 42f131af..597e7cf3 100644 --- a/embassy-stm32/src/crc/mod.rs +++ b/embassy-stm32/src/crc/mod.rs @@ -1,9 +1,6 @@ -use crate::peripherals::CRC; - - -#[cfg_attr(crc_v2, path = "v1.rs")] -#[cfg_attr(crc_v1, path = "v2.rs")] -#[cfg_attr(crc_v3, path = "v3.rs")] +#[cfg_attr(crc_v2, path = "v2.rs")] +#[cfg_attr(crc_v1, path = "v1.rs")] +#[cfg_attr(crc_v3, path = "v2.rs")] mod _version; pub use _version::Crc; \ No newline at end of file