From 52aa56e265f62252ce0eefeebcf100fdfd7be8c6 Mon Sep 17 00:00:00 2001 From: Fabian Wolter Date: Fri, 13 Oct 2023 21:49:30 +0200 Subject: [PATCH] [book] Remove non-existent anchor reference There is no anchor named `timeout_at` in the example source file. By looking at the context, the reference doesn't look like it's supposed to be there at all. --- book/en/src/by-example/delay.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/book/en/src/by-example/delay.md b/book/en/src/by-example/delay.md index 81f855f412..facd595cf4 100644 --- a/book/en/src/by-example/delay.md +++ b/book/en/src/by-example/delay.md @@ -77,12 +77,6 @@ In cases where you want exact control over time without drift we can use exact p [fugit]: https://crates.io/crates/fugit -``` rust,noplayground - -{{#include ../../../../rtic/examples/async-timeout.rs:timeout_at}} - -``` - `let mut instant = Systick::now()` sets the starting time of execution. We want to call `hal_get` after 1000ms relative to this starting time. This can be accomplished by using `Systick::delay_until(instant).await`.