diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-08-19 22:17:45 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-08-19 22:17:45 +0200 |
| commit | 637fcdd316b062915667c454ee32fa50184f5321 (patch) | |
| tree | 357802d014f43059b5f1192a6e09c8c99152bbd9 | |
| parent | ec51880e28d48269ae1ce8b037305f4f7f182c84 (diff) | |
stm32/rcc: update for new version naming
| -rw-r--r-- | embassy-stm32/src/rcc/mod.rs | 14 | ||||
| -rw-r--r-- | embassy-stm32/src/rcc/wb/mod.rs (renamed from embassy-stm32/src/rcc/wb55/mod.rs) | 0 |
2 files changed, 7 insertions, 7 deletions
diff --git a/embassy-stm32/src/rcc/mod.rs b/embassy-stm32/src/rcc/mod.rs index 87be0a5b3..cfa9444a8 100644 --- a/embassy-stm32/src/rcc/mod.rs +++ b/embassy-stm32/src/rcc/mod.rs | |||
| @@ -17,13 +17,13 @@ pub struct Clocks { | |||
| 17 | #[cfg(any(rcc_l0, rcc_f0, rcc_f0x0))] | 17 | #[cfg(any(rcc_l0, rcc_f0, rcc_f0x0))] |
| 18 | pub ahb: Hertz, | 18 | pub ahb: Hertz, |
| 19 | 19 | ||
| 20 | #[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb55, rcc_wl5x))] | 20 | #[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb, rcc_wl5))] |
| 21 | pub ahb1: Hertz, | 21 | pub ahb1: Hertz, |
| 22 | 22 | ||
| 23 | #[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb55, rcc_wl5x))] | 23 | #[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb, rcc_wl5))] |
| 24 | pub ahb2: Hertz, | 24 | pub ahb2: Hertz, |
| 25 | 25 | ||
| 26 | #[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb55, rcc_wl5x))] | 26 | #[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb, rcc_wl5))] |
| 27 | pub ahb3: Hertz, | 27 | pub ahb3: Hertz, |
| 28 | 28 | ||
| 29 | #[cfg(any(rcc_h7))] | 29 | #[cfg(any(rcc_h7))] |
| @@ -66,10 +66,10 @@ cfg_if::cfg_if! { | |||
| 66 | } else if #[cfg(rcc_f4)] { | 66 | } else if #[cfg(rcc_f4)] { |
| 67 | mod f4; | 67 | mod f4; |
| 68 | pub use f4::*; | 68 | pub use f4::*; |
| 69 | } else if #[cfg(rcc_wb55)] { | 69 | } else if #[cfg(rcc_wb)] { |
| 70 | mod wb55; | 70 | mod wb; |
| 71 | pub use wb55::*; | 71 | pub use wb::*; |
| 72 | } else if #[cfg(rcc_wl5x)] { | 72 | } else if #[cfg(rcc_wl5)] { |
| 73 | mod wl5x; | 73 | mod wl5x; |
| 74 | pub use wl5x::*; | 74 | pub use wl5x::*; |
| 75 | } else if #[cfg(any(rcc_f0, rcc_f0x0))] { | 75 | } else if #[cfg(any(rcc_f0, rcc_f0x0))] { |
diff --git a/embassy-stm32/src/rcc/wb55/mod.rs b/embassy-stm32/src/rcc/wb/mod.rs index 4247d8ffb..4247d8ffb 100644 --- a/embassy-stm32/src/rcc/wb55/mod.rs +++ b/embassy-stm32/src/rcc/wb/mod.rs | |||
