summaryrefslogtreecommitdiffstats
path: root/tests/tier2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tier2.rs')
-rw-r--r--tests/tier2.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/tier2.rs b/tests/tier2.rs
index e42a348..15a7865 100644
--- a/tests/tier2.rs
+++ b/tests/tier2.rs
@@ -1,12 +1,10 @@
-extern crate embedded_hal_mock;
-use embedded_hal_mock::i2c::Transaction as I2cTrans;
-extern crate ads1x1x;
use ads1x1x::{
ComparatorLatching, ComparatorMode, ComparatorPolarity, ComparatorQueue, FullScaleRange,
};
+use embedded_hal_mock::i2c::Transaction as I2cTrans;
mod common;
-use common::{
+use crate::common::{
destroy_ads1014, new_ads1014, BitFlags as BF, Config, Register, DEVICE_ADDRESS as DEV_ADDR,
};