diff --git a/.gitignore b/.gitignore index 18d8846f..66294a14 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,4 @@ Gemfile.lock # python cache __pycache__/ +/.venv diff --git a/components/ads111x/ads111x.c b/components/ads111x/ads111x.c index 148b70e7..8af90a7c 100644 --- a/components/ads111x/ads111x.c +++ b/components/ads111x/ads111x.c @@ -50,7 +50,7 @@ #define REG_THRESH_L 2 #define REG_THRESH_H 3 -#define COMP_QUE_OFFSET 1 +#define COMP_QUE_OFFSET 0 #define COMP_QUE_MASK 0x03 #define COMP_LAT_OFFSET 2 #define COMP_LAT_MASK 0x01