summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-17 14:21:12 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-17 14:21:12 +0100
commit950120f4a2d0199a63b59b523f1a1638e20c4f13 (patch)
tree633516fff3fad0cb582c990cf56cb0e30f0119d4 /tests
parent1de0700f63b82e4c649ef0d73443946d74df5b05 (diff)
downloadads1x1x-async-950120f4a2d0199a63b59b523f1a1638e20c4f13.tar.gz
ads1x1x-async-950120f4a2d0199a63b59b523f1a1638e20c4f13.tar.xz
ads1x1x-async-950120f4a2d0199a63b59b523f1a1638e20c4f13.zip
Rename threshold methods
Diffstat (limited to 'tests')
-rw-r--r--tests/tier2_i2c.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tier2_i2c.rs b/tests/tier2_i2c.rs
index 00eaad8..7d17270 100644
--- a/tests/tier2_i2c.rs
+++ b/tests/tier2_i2c.rs
@@ -29,8 +29,8 @@ macro_rules! config_test {
mod can_set_comparator_thresholds {
use super::*;
- set_value_test!(low, set_low_threshold, 2047, LOW_TH, 0x7F, 0xF0);
- set_value_test!(high, set_high_threshold, 2047, HIGH_TH, 0x7F, 0xF0);
+ set_value_test!(low, set_low_threshold_raw, 2047, LOW_TH, 0x7F, 0xF0);
+ set_value_test!(high, set_high_threshold_raw, 2047, HIGH_TH, 0x7F, 0xF0);
}
mod can_set_comparator_mode {