diff options
author | Markus Reiter <me@reitermark.us> | 2024-01-12 20:24:51 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2024-01-19 11:23:31 +0100 |
commit | b3ca672f70c71194da40a7670549a8264c13d971 (patch) | |
tree | 1f316806351a059ca5b5fccbcf4d790b94c0b471 /tests/common/mod.rs | |
parent | ed4cc1dbc5b048332b68a0ebc1d7113d482a74a2 (diff) | |
download | ads1x1x-async-b3ca672f70c71194da40a7670549a8264c13d971.tar.gz ads1x1x-async-b3ca672f70c71194da40a7670549a8264c13d971.tar.xz ads1x1x-async-b3ca672f70c71194da40a7670549a8264c13d971.zip |
Update to `embedded-hal` 1.0.
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; |