From f08055d688c934f9a45293210f6f4155d31b94e0 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 21 Nov 2018 08:42:39 +0100 Subject: Move import to common module --- tests/common/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/common/mod.rs') 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 }; -- cgit v1.2.3-54-g00ecf