summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
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