mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-24 19:09:33 +01:00
[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.
This commit is contained in:
parent
4fc6f4799e
commit
52aa56e265
1 changed files with 0 additions and 6 deletions
|
@ -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`.
|
||||
|
|
Loading…
Reference in a new issue