diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-08 19:04:33 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-08 19:04:33 +0100 |
commit | 4f0445cb5de68a82d26ff981a0f3d0b72b0cd418 (patch) | |
tree | 988c3e5965e8ad940a1cc95f04dd52a92811e9d6 /src/lib.rs | |
parent | 2c80bf6e016a678728d2255292db708db01172f2 (diff) | |
download | ads1x1x-async-4f0445cb5de68a82d26ff981a0f3d0b72b0cd418.tar.gz ads1x1x-async-4f0445cb5de68a82d26ff981a0f3d0b72b0cd418.tar.xz ads1x1x-async-4f0445cb5de68a82d26ff981a0f3d0b72b0cd418.zip |
Add invalid input data threshold
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |