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.
1 parent bdd35ed commit 5502284Copy full SHA for 5502284
nrf-hal-common/src/uarte.rs
@@ -94,7 +94,6 @@ where
94
95
let mut u = Uarte(uarte);
96
97
- #[cfg(any(feature = "9160", feature = "5340"))]
98
u.apply_workaround_for_enable_anomaly();
99
100
// Enable UARTE instance.
@@ -103,6 +102,12 @@ where
103
102
u
104
}
105
+ #[cfg(not(any(feature = "9160", feature = "5340")))]
106
+ fn apply_workaround_for_enable_anomaly(&mut self)
107
+ {
108
+ // Do nothing
109
+ }
110
+
111
#[cfg(any(feature = "9160", feature = "5340"))]
112
fn apply_workaround_for_enable_anomaly(&mut self)
113
{
0 commit comments