summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-21 08:56:35 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-21 08:56:35 +0100
commit6aa9eca206daf3a37945de57fbd7c476daca4cdb (patch)
tree923b6308fab94b9a35bd407bf0efc99c5cf4549b /src
parentdb3661fc68768e1d22da03d3237a0dea50051149 (diff)
downloadads1x1x-async-6aa9eca206daf3a37945de57fbd7c476daca4cdb.tar.gz
ads1x1x-async-6aa9eca206daf3a37945de57fbd7c476daca4cdb.tar.xz
ads1x1x-async-6aa9eca206daf3a37945de57fbd7c476daca4cdb.zip
Move i2c construction module outside
Diffstat (limited to 'src')
-rw-r--r--src/construction.rs (renamed from src/construction/i2c.rs)2
-rw-r--r--src/construction/mod.rs3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/construction/i2c.rs b/src/construction.rs
index 8c63a4b..ab100fd 100644
--- a/src/construction/i2c.rs
+++ b/src/construction.rs
@@ -1,4 +1,4 @@
-//! Constructor/destructor functions for devices using I2C interface.
+//! Constructor/destructor functions.
extern crate embedded_hal as hal;
use hal::blocking;
diff --git a/src/construction/mod.rs b/src/construction/mod.rs
deleted file mode 100644
index 0873d88..0000000
--- a/src/construction/mod.rs
+++ /dev/null
@@ -1,3 +0,0 @@
-//! Construction / destruction functions
-
-mod i2c;