Skip to content

Commit 94c2f43

Browse files
Remove unneded read call in default blocking write implementation
1 parent b7567f3 commit 94c2f43

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/blocking/spi.rs

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ pub mod write {
6969
fn write(&mut self, words: &[W]) -> Result<(), S::Error> {
7070
for word in words {
7171
block!(self.send(word.clone()))?;
72-
block!(self.read())?;
7372
}
7473

7574
Ok(())

0 commit comments

Comments
 (0)