diff options
-rw-r--r-- | src/cirque.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cirque.rs b/src/cirque.rs index b1f5fae..c026ea4 100644 --- a/src/cirque.rs +++ b/src/cirque.rs @@ -238,7 +238,7 @@ where .and_then(|_| spi.transfer(buf)); self.cs_pin.set_high().ok(); - Ok(()) + res } fn wr<S>(&mut self, spi: &mut S, addr: u8, data: u8) -> Result<(), S::Error> |