summaryrefslogtreecommitdiffstats
path: root/tests/common
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 8714a36..4a39097 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -1,4 +1,5 @@
-use hal::i2c::{ Mock as I2cMock, Transaction as I2cTrans };
+extern crate embedded_hal_mock as hal;
+use self::hal::i2c::{ Mock as I2cMock, Transaction as I2cTrans };
extern crate ads1x1x;
use self::ads1x1x::{ Ads1x1x, interface, ic, SlaveAddr, mode };