summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2024-07-31 09:54:46 +0200
committerDiego Barrios Romero <eldruin@gmail.com>2024-07-31 09:54:46 +0200
commitf652e93e298c9c22271e6a0d018db78a37b7c946 (patch)
tree6520c147f5e7c1228de981316252d7d45d086407
parent82e32d0c0ccceeaa30c99d98b36ef7d9d41b8978 (diff)
downloadads1x1x-async-f652e93e298c9c22271e6a0d018db78a37b7c946.tar.gz
ads1x1x-async-f652e93e298c9c22271e6a0d018db78a37b7c946.tar.xz
ads1x1x-async-f652e93e298c9c22271e6a0d018db78a37b7c946.zip
Adapt test
-rw-r--r--tests/tier2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tier2.rs b/tests/tier2.rs
index 7d3a54f..e29b67b 100644
--- a/tests/tier2.rs
+++ b/tests/tier2.rs
@@ -140,7 +140,7 @@ fn can_use_alert_rdy_pin_as_rdy_disabled_comparator() {
.with_low(BF::COMP_QUE0);
let config_disabled_comp = Config::default()
.with_high(BF::COMP_QUE1)
- .with_high(BF::COMP_QUE0);
+ .with_low(BF::COMP_QUE0);
let transactions = [
I2cTrans::write(DEV_ADDR, vec![Register::CONFIG, config.msb(), config.lsb()]),
I2cTrans::write(