summaryrefslogtreecommitdiffstats
path: root/src/devices/mode/continuous.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2020-06-21 22:52:41 +0200
committerDiego Barrios Romero <eldruin@gmail.com>2020-06-21 22:52:41 +0200
commit6aed921780dbe12c058e0aa0ce8b617e404b5a87 (patch)
tree3b76c4d8946aede3e48fcfade62a2e19488ee118 /src/devices/mode/continuous.rs
parentb7e9c9acf1bb42f4966930354135782bab57394a (diff)
downloadads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.tar.gz
ads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.tar.xz
ads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.zip
Use edition 2018
Diffstat (limited to 'src/devices/mode/continuous.rs')
-rw-r--r--src/devices/mode/continuous.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/mode/continuous.rs b/src/devices/mode/continuous.rs
index 29471de..d2955aa 100644
--- a/src/devices/mode/continuous.rs
+++ b/src/devices/mode/continuous.rs
@@ -1,9 +1,10 @@
//! Continuous measurement mode
-use super::super::OperatingMode;
-use channels::ChannelSelection;
+use crate::{
+ channels::ChannelSelection, conversion, devices::OperatingMode, hal, interface, mode, Ads1x1x,
+ Error, ModeChangeError, Register,
+};
use core::marker::PhantomData;
-use {conversion, hal, interface, mode, Ads1x1x, Error, ModeChangeError, Register};
impl<DI, IC, CONV, E> Ads1x1x<DI, IC, CONV, mode::Continuous>
where