Skip to content

Commit

Permalink
Remove unneded read call in default blocking write implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
david-sawatzke committed Jan 2, 2019
1 parent b7567f3 commit 94c2f43
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/blocking/spi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ pub mod write {
fn write(&mut self, words: &[W]) -> Result<(), S::Error> {
for word in words {
block!(self.send(word.clone()))?;
block!(self.read())?;
}

Ok(())
Expand Down

0 comments on commit 94c2f43

Please sign in to comment.