Skip to content

Commit

Permalink
More version-spec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
David-OConnor committed Nov 27, 2024
1 parent 13ee9ef commit 044e8ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ where
// Slave address to be sent: SADD[9:0]
// SADD0: "This bit is don’t care"
// SADD[7:1]: "These bits should be written with the 7-bit slave address to be sent"
#[cfg(not(any(feature = "wb", feature = "l5")))]
w.sadd().bits((addr << 1) as u16);
// Transfer direction: RD_WRN
w.rd_wrn().write();
Expand Down

0 comments on commit 044e8ee

Please sign in to comment.