From 3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 11 Nov 2018 08:04:42 +0100 Subject: Reorganize modules --- src/lib.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index ef016fb..3c7a383 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -285,12 +285,15 @@ pub struct Ads1x1x { #[doc(hidden)] pub mod interface; +#[doc(hidden)] +pub mod ic; +mod channels; mod devices; -pub use devices::ic; -pub use devices::channel; +mod construction; +pub use channels::channel; mod private { - use super::{ devices::ic, interface }; + use super::{ ic, interface }; pub trait Sealed {} impl Sealed for interface::I2cInterface {} -- cgit v1.2.3-54-g00ecf