From 42cc99c1835ff2838a25218ae57e47649846af9d Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 7 Nov 2018 20:21:18 +0100 Subject: Change interface to handle registers as u16 --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib.rs') 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 Sealed for super::interface::I2cInterface {} + impl Sealed for super::interface::SpiInterface {} + impl Sealed for super::devices::ic::Ads1013 {} impl Sealed for super::devices::ic::Ads1113 {} } -- cgit v1.2.3-54-g00ecf