aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Melchior Jacobsen <[email protected]>2023-02-07 15:06:16 +0100
committerRasmus Melchior Jacobsen <[email protected]>2023-02-07 15:06:16 +0100
commit1b6aae9ddea09bf961d9cbe4a976f3021749e4ac (patch)
treed02d304efe1414aa00d89a34a49b4f80857dd3cf
parente4dc473e04ba2981cffd16ce4348f0646cae341d (diff)
Also exclude fsmc_v1x3
-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 };