diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-13 19:24:48 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-13 19:24:48 +0100 |
commit | 998047fa397e4b28a199baaba32f2f190f0689f3 (patch) | |
tree | 751836ac4b9becab1da4bfd2885a405d483d5961 /tests | |
parent | c8e0935bb6c8a9202411c97da6882fa45d93a5e8 (diff) | |
download | ads1x1x-async-998047fa397e4b28a199baaba32f2f190f0689f3.tar.gz ads1x1x-async-998047fa397e4b28a199baaba32f2f190f0689f3.tar.xz ads1x1x-async-998047fa397e4b28a199baaba32f2f190f0689f3.zip |
Make macro use specific to tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tier1_i2c.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tier1_i2c.rs b/tests/tier1_i2c.rs index 15e5514..b3168f9 100644 --- a/tests/tier1_i2c.rs +++ b/tests/tier1_i2c.rs @@ -1,4 +1,4 @@ -#[macro_use(block)] +#[cfg_attr(test, macro_use(block))] extern crate nb; extern crate embedded_hal; extern crate embedded_hal_mock as hal; |