aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Oliva <[email protected]>2023-10-11 22:45:54 +0200
committerAndres Oliva <[email protected]>2023-10-11 22:45:54 +0200
commitee93bbf1d45226ae71234287c382bf1ed530ca97 (patch)
tree409dd8451c7565ad212e24be7523e64c74ee3926
parent7b1cd4293637a0da1c57a12976349715a27e2d04 (diff)
Gate pub use _version::*
-rw-r--r--embassy-stm32/src/i2c/mod.rs2
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")]
9mod _version; 9mod _version;
10
11#[cfg(any(i2c_v1, all(i2c_v2, feature = "time")))]
10pub use _version::*; 12pub use _version::*;
11 13
12use crate::peripherals; 14use crate::peripherals;