diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-08 19:03:48 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-08 19:03:48 +0100 |
commit | d1065dce04acbc7b46f0dbe105e38c4ba32d4600 (patch) | |
tree | a007c5a925dbe2367c0d4e3b5f206697d90787be /src | |
parent | e31c1d944a814999bd80f86d6fd3fc7f604fc54b (diff) | |
download | ads1x1x-async-d1065dce04acbc7b46f0dbe105e38c4ba32d4600.tar.gz ads1x1x-async-d1065dce04acbc7b46f0dbe105e38c4ba32d4600.tar.xz ads1x1x-async-d1065dce04acbc7b46f0dbe105e38c4ba32d4600.zip |
Fix adding low and high threshold registers
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |