Gate TimeoutI2c behind i2cv1

This commit is contained in:
chemicstry 2022-10-24 12:34:55 +03:00
parent d99841fea9
commit 5f02bee388

View File

@ -7,9 +7,9 @@ use crate::interrupt::Interrupt;
mod _version;
pub use _version::*;
#[cfg(feature = "time")]
#[cfg(all(i2c_v1, feature = "time"))]
mod timeout;
#[cfg(feature = "time")]
#[cfg(all(i2c_v1, feature = "time"))]
pub use timeout::*;
use crate::peripherals;