diff options
Diffstat (limited to 'tests/mux_i2c.rs')
-rw-r--r-- | tests/mux_i2c.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mux_i2c.rs b/tests/mux_i2c.rs index ca10673..69d7023 100644 --- a/tests/mux_i2c.rs +++ b/tests/mux_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; |