diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 07:12:37 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 07:12:37 +0100 |
commit | 410b31427ec16991ce02e4b91a357dbbaada971f (patch) | |
tree | 135db6579888b101dd449db2e27b7e71b3a48de5 /src/devices | |
parent | c4d53d6d4a8368013f3df4340c0178d0de279e72 (diff) | |
download | ads1x1x-async-410b31427ec16991ce02e4b91a357dbbaada971f.tar.gz ads1x1x-async-410b31427ec16991ce02e4b91a357dbbaada971f.tar.xz ads1x1x-async-410b31427ec16991ce02e4b91a357dbbaada971f.zip |
Move module use up
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/ads1x1x/mode/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/ads1x1x/mode/mod.rs b/src/devices/ads1x1x/mode/mod.rs index 81a5795..8e0e012 100644 --- a/src/devices/ads1x1x/mode/mod.rs +++ b/src/devices/ads1x1x/mode/mod.rs @@ -1,6 +1,8 @@ //! Functions for all devices specific to each operating mode use ic; +mod oneshot; +mod continuous; fn convert_measurement<IC>(register_data: u16) -> i16 where @@ -22,8 +24,6 @@ where } } -mod oneshot; -mod continuous; #[cfg(test)] mod tests { |