diff options
Diffstat (limited to 'tests/common/mod.rs')
-rw-r--r-- | tests/common/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 0a97690..43dfed4 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -5,12 +5,12 @@ use self::ads1x1x::{ Ads1x1x, interface, ic, SlaveAddr, mode }; pub const DEVICE_ADDRESS : u8 = 0b100_1000; pub struct Register; - +#[allow(unused)] impl Register { pub const CONVERSION : u8 = 0x00; pub const CONFIG : u8 = 0x01; - //const LOW_TH : u8 = 0x02; - //const HIGH_TH : u8 = 0x03; + pub const LOW_TH : u8 = 0x02; + pub const HIGH_TH : u8 = 0x03; } pub struct BitFlags; |