diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-21 09:19:11 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-21 09:19:11 +0100 |
commit | e4a1ac5a04d021ef026c559354e9913ae59864d8 (patch) | |
tree | c4bf7578d6ecfb999eb2a5aa1907e7f2721df34d /tests/common | |
parent | eafc42ce8e024a9188505ef355df5b32c63a0386 (diff) | |
download | ads1x1x-async-e4a1ac5a04d021ef026c559354e9913ae59864d8.tar.gz ads1x1x-async-e4a1ac5a04d021ef026c559354e9913ae59864d8.tar.xz ads1x1x-async-e4a1ac5a04d021ef026c559354e9913ae59864d8.zip |
Move statement to a better place
Diffstat (limited to 'tests/common')
-rw-r--r-- | tests/common/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 4a39097..d81494f 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -3,6 +3,7 @@ use self::hal::i2c::{ Mock as I2cMock, Transaction as I2cTrans }; extern crate ads1x1x; use self::ads1x1x::{ Ads1x1x, interface, ic, SlaveAddr, mode }; +#[allow(unused)] pub const DEVICE_ADDRESS : u8 = 0b100_1000; pub struct Register; |