From 0c2302f648bf04bb326edf241aba9f544d8c2e7f Mon Sep 17 00:00:00 2001 From: UncleRus Date: Fri, 21 Jun 2024 20:16:54 +0500 Subject: [PATCH] fix #641 --- .gitignore | 1 + components/ads111x/ads111x.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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