summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-21 09:00:57 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-21 09:00:57 +0100
commit7753d175f381fc0f19498b8b3aa497b886358dd4 (patch)
tree589579daf2d7dc499984c05405f8e040d9e40a26 /src/lib.rs
parent600d709d3cd863936974b21b1af908e641fb7491 (diff)
downloadads1x1x-async-7753d175f381fc0f19498b8b3aa497b886358dd4.tar.gz
ads1x1x-async-7753d175f381fc0f19498b8b3aa497b886358dd4.tar.xz
ads1x1x-async-7753d175f381fc0f19498b8b3aa497b886358dd4.zip
Rename error type
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b665109..7e829be 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -212,7 +212,7 @@ use core::marker::PhantomData;
#[derive(Debug)]
pub enum Error<E> {
/// I²C bus error
- Comm(E),
+ I2C(E),
/// Invalid input data provided
InvalidInputData,
/// Continuous measurement was not started