Skip to content

Commit c8eac4f

Browse files
committed
update prelude
1 parent 5563423 commit c8eac4f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/prelude.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ pub use crate::analog::adc::AdcExt as _;
22
pub use crate::crc::CrcExt as _;
33
pub use crate::exti::ExtiExt as _;
44
pub use crate::gpio::GpioExt as _;
5-
#[cfg(feature = "i2c-nonblocking")]
6-
pub use crate::i2c::nonblocking::I2cSlave;
7-
#[cfg(feature = "i2c-blocking")]
8-
pub use crate::i2c::blocking::I2cSlave;
95
pub use crate::i2c::I2cExt as _;
106
pub use crate::power::PowerExt as _;
117
pub use crate::rcc::LSCOExt as _;
@@ -29,3 +25,9 @@ pub use hal::digital::v2::*;
2925
pub use hal::prelude::*;
3026
pub use hal::watchdog::Watchdog as _;
3127
pub use hal::watchdog::WatchdogEnable as _;
28+
29+
#[cfg(feature = "i2c-nonblocking")]
30+
pub use crate::i2c::nonblocking::I2cSlave;
31+
32+
#[cfg(feature = "i2c-blocking")]
33+
pub use crate::i2c::blocking::I2cSlave;

0 commit comments

Comments
 (0)