Skip to content

Commit

Permalink
Correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregoire committed Feb 11, 2025
1 parent 06cb6ac commit 8a2bfd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ where
self.i2c.transaction(
I2C_ADDRESS,
&mut [
Operation::Read(&mut [0]), // Strip RDY byte off the response
Operation::Read(buf)
Operation::Read(&mut [0]), // Strip RDY byte off the response
Operation::Read(buf),
],
)
}
Expand Down

0 comments on commit 8a2bfd5

Please sign in to comment.