summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-08 18:59:40 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-08 18:59:40 +0100
commit937a28cb6bca352df47c7ab5fb69c24794cb9f94 (patch)
treea9b33149c6417814b94d6ae3aaebf3c610927969 /tests
parent8bc86b228f245e1056a79a7f7d6d97641f1bb745 (diff)
downloadads1x1x-async-937a28cb6bca352df47c7ab5fb69c24794cb9f94.tar.gz
ads1x1x-async-937a28cb6bca352df47c7ab5fb69c24794cb9f94.tar.xz
ads1x1x-async-937a28cb6bca352df47c7ab5fb69c24794cb9f94.zip
Include macros from common module
Diffstat (limited to 'tests')
-rw-r--r--tests/ads1x13.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ads1x13.rs b/tests/ads1x13.rs
index 6a2b558..89dd031 100644
--- a/tests/ads1x13.rs
+++ b/tests/ads1x13.rs
@@ -6,6 +6,7 @@ use hal::i2c::Transaction as I2cTrans;
extern crate ads1x1x;
use ads1x1x::channel;
+#[macro_use]
mod common;
use common::{ new_ads1013, destroy_ads1013, new_ads1113, destroy_ads1113,
DEVICE_ADDRESS as DEV_ADDR, Register, BitFlags, Config };