diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2020-06-21 23:26:17 +0200 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2020-06-21 23:26:17 +0200 |
commit | 8016a126ee3ac458fe9c935994d099ede611265e (patch) | |
tree | 6b6b9be6fdd7ace9090deeda6ffd7fdf9f2c4036 | |
parent | f80ad1d04c5cdb41a6af01ddb477c87b7524c332 (diff) | |
download | ads1x1x-async-8016a126ee3ac458fe9c935994d099ede611265e.tar.gz ads1x1x-async-8016a126ee3ac458fe9c935994d099ede611265e.tar.xz ads1x1x-async-8016a126ee3ac458fe9c935994d099ede611265e.zip |
Reorder imports
-rw-r--r-- | src/lib.rs | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -221,22 +221,22 @@ impl BitFlags { const COMP_QUE0: u16 = 0b0000_0000_0000_0001; } +mod channels; +pub use crate::channels::channel; +mod construction; +mod conversion; +pub use crate::conversion::{ConvertMeasurement, ConvertThreshold}; +mod devices; +#[doc(hidden)] +pub mod ic; +#[doc(hidden)] +pub mod interface; mod types; use crate::types::Config; pub use crate::types::{ mode, Ads1x1x, ComparatorLatching, ComparatorMode, ComparatorPolarity, ComparatorQueue, DataRate12Bit, DataRate16Bit, Error, FullScaleRange, ModeChangeError, SlaveAddr, }; -mod channels; -#[doc(hidden)] -pub mod ic; -#[doc(hidden)] -pub mod interface; -pub use crate::channels::channel; -mod construction; -mod conversion; -mod devices; -pub use crate::conversion::{ConvertMeasurement, ConvertThreshold}; mod private { use super::{ic, interface}; |