diff options
-rw-r--r-- | src/devices/ic.rs | 6 | ||||
-rw-r--r-- | src/devices/mod.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/ic.rs b/src/devices/ic.rs index 714eaba..7b30f85 100644 --- a/src/devices/ic.rs +++ b/src/devices/ic.rs @@ -1,11 +1,13 @@ /// ICs +use private; + #[derive(PartialEq)] pub enum ResolutionBits { _12, _16 } -pub trait Resolution : super::private::Sealed { +pub trait Resolution : private::Sealed { const BITS : ResolutionBits; } @@ -26,7 +28,7 @@ ic_marker!(Ads1114, _16); ic_marker!(Ads1015, _12); ic_marker!(Ads1115, _16); -pub trait Tier2Features : super::private::Sealed { } +pub trait Tier2Features : private::Sealed { } macro_rules! tier2_features { ($name:ident) => { diff --git a/src/devices/mod.rs b/src/devices/mod.rs index 3bcc3fa..c73d344 100644 --- a/src/devices/mod.rs +++ b/src/devices/mod.rs @@ -1,5 +1,3 @@ -use super::private; - #[doc(hidden)] pub mod ic; mod ads1x1x; |