summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a141840..ea9a383 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -159,6 +159,10 @@ pub use devices::channel;
mod private {
pub trait Sealed {}
+
+ impl<I2C> Sealed for super::interface::I2cInterface<I2C> {}
+ impl<SPI, CS> Sealed for super::interface::SpiInterface<SPI, CS> {}
+
impl Sealed for super::devices::ic::Ads1013 {}
impl Sealed for super::devices::ic::Ads1113 {}
}