diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-17 18:41:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-17 18:41:45 +0000 |
| commit | 38306389ea4d8fadac8565e681887740912e14bd (patch) | |
| tree | 380d22ce8f365ad47fe77accfd04e61bfddcce57 /book/ru/src/by-example/timer-queue.md | |
| parent | ff3cfac6bbbfc9093df4bbe246ade18f8d3523e5 (diff) | |
| parent | d08f965080f90ff8bfb3515fe0c06cb504544eaa (diff) | |
Merge #248
248: update the changelog and fix some links r=korken89 a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'book/ru/src/by-example/timer-queue.md')
| -rw-r--r-- | book/ru/src/by-example/timer-queue.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/book/ru/src/by-example/timer-queue.md b/book/ru/src/by-example/timer-queue.md index 8995bd0..d747731 100644 --- a/book/ru/src/by-example/timer-queue.md +++ b/book/ru/src/by-example/timer-queue.md @@ -9,7 +9,7 @@ планируется, момент ([`Instant`]), в который задачу нужно запустить, нужно передать как первый аргумент вызова `schedule`. -[`Instant`]: ../../api/rtfm/struct.Instant.html +[`Instant`]: ../../../api/rtfm/struct.Instant.html Рантайм RTFM включает монотонный, растущий только вверх, 32-битный таймер, значение которого можно запросить конструктором `Instant::now`. Время ([`Duration`]) @@ -18,7 +18,7 @@ значение `Instant(0 /* циклов тактовой частоты */)`; таймер включается сразу перед включением прерываний и запуском `idle`. -[`Duration`]: ../../api/rtfm/struct.Duration.html +[`Duration`]: ../../../api/rtfm/struct.Duration.html В примере ниже две задачи планируются из `init`: `foo` и `bar`. `foo` - запланирована на запуск через 8 миллионов тактов в будущем. Кроме того, `bar` |
