We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 069325e + 218bb39 commit d2eaceaCopy full SHA for d2eacea
nrf-hal-common/src/twim.rs
@@ -68,13 +68,13 @@ where
68
// Select pins.
69
twim.psel.scl.write(|w| {
70
let w = unsafe { w.pin().bits(pins.scl.pin()) };
71
- #[cfg(feature = "52840")]
+ #[cfg(any(feature = "52833", feature = "52840"))]
72
let w = w.port().bit(pins.scl.port().bit());
73
w.connect().connected()
74
});
75
twim.psel.sda.write(|w| {
76
let w = unsafe { w.pin().bits(pins.sda.pin()) };
77
78
let w = w.port().bit(pins.sda.port().bit());
79
80
0 commit comments