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.
delay
1 parent 0d42e31 commit 58c6f08Copy full SHA for 58c6f08
src/lib.rs
@@ -39,6 +39,13 @@ pub fn delay_us(us: u32) {
39
internal_delay_functions::delay(ticks);
40
}
41
42
+/// Deprecated: If necesarry, use internal_delay_functions::delay instead
43
+#[inline(always)]
44
+#[deprecated(since = "0.3.3", note = "If necesarry, users can instead use internal_delay_functions::delay")]
45
+pub fn delay(count: u32) {
46
+ internal_delay_functions::delay(u64::from(count));
47
+}
48
+
49
/// Functions used internally for our busy-wait loop.
50
///
51
/// These are not primarily intended to be used in user code, but are left public for
0 commit comments