From d1065dce04acbc7b46f0dbe105e38c4ba32d4600 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Thu, 8 Nov 2018 19:03:48 +0100 Subject: Fix adding low and high threshold registers --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 63c5a93..5050ece 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -128,8 +128,8 @@ struct Register; impl Register { const CONVERSION : u8 = 0x00; const CONFIG : u8 = 0x01; - //const LOW_TH : u8 = 0x02; - //const HIGH_TH : u8 = 0x03; + const LOW_TH : u8 = 0x02; + const HIGH_TH : u8 = 0x03; } struct BitFlags; -- cgit v1.2.3-54-g00ecf