mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
7266ffe3a6
The example above this in the documentation states ``` // semantically, the monotonic timer is frozen at time "zero" during `init` // NOTE do *not* call `Instant::now` in this context; it will return a nonsense value let now = cx.start; // the start time of the system ``` It results in weird scheduling issues, but still eventually works. `cx.start` is much more reliable. Relates to https://github.com/rtfm-rs/cortex-m-rtfm/issues/196 |
||
---|---|---|
.. | ||
baseline.rs | ||
binds.rs | ||
capacity.rs | ||
cfg.rs | ||
destructure.rs | ||
generics.rs | ||
hardware.rs | ||
idle.rs | ||
init.rs | ||
late.rs | ||
lock.rs | ||
message.rs | ||
not-send.rs | ||
not-sync.rs | ||
only-shared-access.rs | ||
periodic.rs | ||
pool.rs | ||
preempt.rs | ||
ramfunc.rs | ||
resource.rs | ||
schedule.rs | ||
shared-with-init.rs | ||
smallest.rs | ||
t-binds.rs | ||
t-cfg-resources.rs | ||
t-cfg.rs | ||
t-late-not-send.rs | ||
t-resource.rs | ||
t-schedule.rs | ||
t-spawn.rs | ||
task.rs | ||
types.rs |