Also exclude fsmc_v1x3
This commit is contained in:
parent
e4dc473e04
commit
1b6aae9dde
@ -30,7 +30,7 @@ where
|
|||||||
// fmc v1 and v2 does not have the fmcen bit
|
// fmc v1 and v2 does not have the fmcen bit
|
||||||
// fsmc v1, v2 and v3 does not have the fmcen bit
|
// fsmc v1, v2 and v3 does not have the fmcen bit
|
||||||
// This is a "not" because it is expected that all future versions have this bit
|
// This is a "not" because it is expected that all future versions have this bit
|
||||||
#[cfg(not(any(fmc_v1x3, fmc_v2x1, fsmc_v1x0, fsmc_v2x3, fsmc_v3x1)))]
|
#[cfg(not(any(fmc_v1x3, fmc_v2x1, fsmc_v1x0, fsmc_v1x3, fsmc_v2x3, fsmc_v3x1)))]
|
||||||
unsafe {
|
unsafe {
|
||||||
T::regs().bcr1().modify(|r| r.set_fmcen(true))
|
T::regs().bcr1().modify(|r| r.set_fmcen(true))
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user