diff options
| author | Andres Oliva <[email protected]> | 2023-10-11 22:45:54 +0200 |
|---|---|---|
| committer | Andres Oliva <[email protected]> | 2023-10-11 22:45:54 +0200 |
| commit | ee93bbf1d45226ae71234287c382bf1ed530ca97 (patch) | |
| tree | 409dd8451c7565ad212e24be7523e64c74ee3926 | |
| parent | 7b1cd4293637a0da1c57a12976349715a27e2d04 (diff) | |
Gate pub use _version::*
| -rw-r--r-- | embassy-stm32/src/i2c/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-stm32/src/i2c/mod.rs b/embassy-stm32/src/i2c/mod.rs index d5bb2ed21..61989c239 100644 --- a/embassy-stm32/src/i2c/mod.rs +++ b/embassy-stm32/src/i2c/mod.rs | |||
| @@ -7,6 +7,8 @@ use crate::interrupt; | |||
| 7 | #[cfg_attr(i2c_v1, path = "v1.rs")] | 7 | #[cfg_attr(i2c_v1, path = "v1.rs")] |
| 8 | #[cfg_attr(all(i2c_v2, feature = "time"), path = "v2.rs")] | 8 | #[cfg_attr(all(i2c_v2, feature = "time"), path = "v2.rs")] |
| 9 | mod _version; | 9 | mod _version; |
| 10 | |||
| 11 | #[cfg(any(i2c_v1, all(i2c_v2, feature = "time")))] | ||
| 10 | pub use _version::*; | 12 | pub use _version::*; |
| 11 | 13 | ||
| 12 | use crate::peripherals; | 14 | use crate::peripherals; |
