diff options
Diffstat (limited to 'tests/common/mod.rs')
-rw-r--r-- | tests/common/mod.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs index c9ca2a1..429479c 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -1,7 +1,5 @@ -extern crate embedded_hal_mock as hal; -use self::hal::i2c::{Mock as I2cMock, Transaction as I2cTrans}; -extern crate ads1x1x; -use self::ads1x1x::{ic, interface, mode, Ads1x1x, SlaveAddr}; +use ads1x1x::{ic, interface, mode, Ads1x1x, SlaveAddr}; +use embedded_hal_mock::eh1::i2c::{Mock as I2cMock, Transaction as I2cTrans}; #[allow(unused)] pub const DEVICE_ADDRESS: u8 = 0b100_1000; |