aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/fmc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/fmc/mod.rs b/embassy-stm32/src/fmc/mod.rs
index 13c16af52..4d48721d1 100644
--- a/embassy-stm32/src/fmc/mod.rs
+++ b/embassy-stm32/src/fmc/mod.rs
@@ -30,7 +30,7 @@ where
30 // fmc v1 and v2 does not have the fmcen bit 30 // fmc v1 and v2 does not have the fmcen bit
31 // fsmc v1, v2 and v3 does not have the fmcen bit 31 // fsmc v1, v2 and v3 does not have the fmcen bit
32 // This is a "not" because it is expected that all future versions have this bit 32 // This is a "not" because it is expected that all future versions have this bit
33 #[cfg(not(any(fmc_v1x3, fmc_v2x1, fsmc_v1x0, fsmc_v2x3, fsmc_v3x1)))] 33 #[cfg(not(any(fmc_v1x3, fmc_v2x1, fsmc_v1x0, fsmc_v1x3, fsmc_v2x3, fsmc_v3x1)))]
34 unsafe { 34 unsafe {
35 T::regs().bcr1().modify(|r| r.set_fmcen(true)) 35 T::regs().bcr1().modify(|r| r.set_fmcen(true))
36 }; 36 };