Skip to content

Commit 044e8ee

Browse files
committed
More version-spec fix
1 parent 13ee9ef commit 044e8ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/i2c.rs

+1
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ where
454454
// Slave address to be sent: SADD[9:0]
455455
// SADD0: "This bit is don’t care"
456456
// SADD[7:1]: "These bits should be written with the 7-bit slave address to be sent"
457+
#[cfg(not(any(feature = "wb", feature = "l5")))]
457458
w.sadd().bits((addr << 1) as u16);
458459
// Transfer direction: RD_WRN
459460
w.rd_wrn().write();

0 commit comments

Comments
 (0)