From 410b31427ec16991ce02e4b91a357dbbaada971f Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 11 Nov 2018 07:12:37 +0100 Subject: Move module use up --- src/devices/ads1x1x/mode/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(register_data: u16) -> i16 where @@ -22,8 +24,6 @@ where } } -mod oneshot; -mod continuous; #[cfg(test)] mod tests { -- cgit v1.2.3-54-g00ecf