diff options
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ where { set_cs(chip_select, Low)?; - spi.transfer_in_place(buffer).map_err(|e| Error::SpiError(e))?; + spi.read(buffer).map_err(|e| Error::SpiError(e))?; set_cs(chip_select, High) } |