diff options
Diffstat (limited to 'embassy-stm32')
| -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; |
