summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-08 19:03:48 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-08 19:03:48 +0100
commitd1065dce04acbc7b46f0dbe105e38c4ba32d4600 (patch)
treea007c5a925dbe2367c0d4e3b5f206697d90787be /src/lib.rs
parente31c1d944a814999bd80f86d6fd3fc7f604fc54b (diff)
downloadads1x1x-async-d1065dce04acbc7b46f0dbe105e38c4ba32d4600.tar.gz
ads1x1x-async-d1065dce04acbc7b46f0dbe105e38c4ba32d4600.tar.xz
ads1x1x-async-d1065dce04acbc7b46f0dbe105e38c4ba32d4600.zip
Fix adding low and high threshold registers
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
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;