From 77a29b4e0c2bac40ec3b71c91772a01771f398be Mon Sep 17 00:00:00 2001 From: Jonathan 'theJPster' Pallant Date: Sat, 14 Jun 2025 21:22:58 +0100 Subject: Correct timer type in "Delay and Timeout using Monotonics" The example in `lm3s6965/examples/async-timeout.rs` uses `Mono` as the monotonic timer type, so it's confusing that the second example switches to using `Systick`. --- book/en/src/by-example/delay.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'book/en/src') diff --git a/book/en/src/by-example/delay.md b/book/en/src/by-example/delay.md index b99a4d1..4b5f246 100644 --- a/book/en/src/by-example/delay.md +++ b/book/en/src/by-example/delay.md @@ -21,7 +21,7 @@ A _software_ task can `await` the delay to expire: #[task] async fn foo(_cx: foo::Context) { ... - Systick::delay(100.millis()).await; + Mono::delay(100.millis()).await; ... } -- cgit v1.2.3