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 | |
parent | eafc42ce8e024a9188505ef355df5b32c63a0386 (diff) | |
download | ads1x1x-async-e4a1ac5a04d021ef026c559354e9913ae59864d8.tar.gz ads1x1x-async-e4a1ac5a04d021ef026c559354e9913ae59864d8.tar.xz ads1x1x-async-e4a1ac5a04d021ef026c559354e9913ae59864d8.zip |
Move statement to a better place
-rw-r--r-- | tests/common/mod.rs | 1 | ||||
-rw-r--r-- | tests/construction.rs | 1 |
2 files changed, 1 insertions, 1 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; diff --git a/tests/construction.rs b/tests/construction.rs index cb5d9cd..459e5a8 100644 --- a/tests/construction.rs +++ b/tests/construction.rs @@ -1,4 +1,3 @@ -#[allow(unused)] mod common; use common::{ new_ads1013, destroy_ads1013, new_ads1113, destroy_ads1113, new_ads1014, destroy_ads1014, new_ads1114, destroy_ads1114, |