summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4382e61..b825546 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -203,7 +203,9 @@ pub enum Error<E> {
/// I²C/SPI bus error
Comm(E),
/// Invalid input data provided
- InvalidInputData
+ InvalidInputData,
+ /// Continuous measurement was not started
+ NotStarted,
}
const DEVICE_BASE_ADDRESS : u8 = 0b100_1000;