From e4a1ac5a04d021ef026c559354e9913ae59864d8 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 21 Nov 2018 09:19:11 +0100 Subject: Move statement to a better place --- tests/common/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/common') 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; -- cgit v1.2.3-54-g00ecf