summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5050ece..adbd128 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -63,7 +63,9 @@ use core::marker::PhantomData;
#[derive(Debug)]
pub enum Error<E> {
/// I²C/SPI bus error
- Comm(E)
+ Comm(E),
+ /// Invalid input data provided
+ InvalidInputData
}
const DEVICE_BASE_ADDRESS : u8 = 0b100_1000;