summaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
parente4a1ac5a04d021ef026c559354e9913ae59864d8 (diff)
downloadads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.tar.gz
ads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.tar.xz
ads1x1x-async-5485d9655e2ab3a6d04e5f69b246f5db4d2c5936.zip
Code formatting
Diffstat (limited to 'examples')
-rw-r--r--examples/linux.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/linux.rs b/examples/linux.rs
index 7f65c52..df2ab58 100644
--- a/examples/linux.rs
+++ b/examples/linux.rs
@@ -5,8 +5,8 @@ extern crate linux_embedded_hal;
extern crate nb;
extern crate ads1x1x;
+use ads1x1x::{channel, Ads1x1x, SlaveAddr};
use linux_embedded_hal::I2cdev;
-use ads1x1x::{ Ads1x1x, SlaveAddr, channel };
fn main() {
let dev = I2cdev::new("/dev/i2c-1").unwrap();