summaryrefslogtreecommitdiffstats
path: root/src/channels.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-21 09:35:37 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-21 09:35:37 +0100
commit5485d9655e2ab3a6d04e5f69b246f5db4d2c5936 (patch)
tree84bb1e825656d4c523b65edc5d7780fbb060c8cc /src/channels.rs
parente4a1ac5a04d021ef026c559354e9913ae59864d8 (diff)
downloadads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.tar.gz
ads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.tar.xz
ads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.zip
Code formatting
Diffstat (limited to 'src/channels.rs')
-rw-r--r--src/channels.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.rs b/src/channels.rs
index f88e10e..d5ae7bc 100644
--- a/src/channels.rs
+++ b/src/channels.rs
@@ -1,5 +1,5 @@
//! ADC input channels
-use { Ads1x1x, ic, hal, Config, BitFlags as BF };
+use {hal, ic, Ads1x1x, BitFlags as BF, Config};
/// ADC input channel selection
#[allow(dead_code)]
@@ -43,7 +43,7 @@ macro_rules! impl_channel {
ChannelSelection::$CH
}
}
- }
+ };
}
impl_channel!(Ads1013, DifferentialA0A1);