aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-08-27 04:43:09 +0000
committerGravatar GitHub <noreply@github.com> 2021-08-27 04:43:09 +0000
commit3ef650832abef24f76c402ede64d1248cf0d0772 (patch)
tree1319ccb8d12892885b4758d476336af6bd946e6f
parentcd37e3a72c152bbdafde4476d5dc68f121813022 (diff)
parent81a7722ab637fa1699c3eb22b38daa4269572a0c (diff)
downloadrtic-3ef650832abef24f76c402ede64d1248cf0d0772.tar.gz
rtic-3ef650832abef24f76c402ede64d1248cf0d0772.tar.zst
rtic-3ef650832abef24f76c402ede64d1248cf0d0772.zip
Merge #518
518: Fix link for SLEEPONEXIT r=korken89 a=newAM Co-authored-by: Alex Martens <alexmgit@protonmail.com>
-rw-r--r--book/en/src/by-example/app.md2
-rw-r--r--book/ru/src/by-example/app.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/book/en/src/by-example/app.md b/book/en/src/by-example/app.md
index 5fd1c250..04535c14 100644
--- a/book/en/src/by-example/app.md
+++ b/book/en/src/by-example/app.md
@@ -72,7 +72,7 @@ so it must run forever.
When no `idle` function is declared, the runtime sets the [SLEEPONEXIT] bit and
then sends the microcontroller to sleep after running `init`.
-[SLEEPONEXIT]: https://developer.arm.com/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit
+[SLEEPONEXIT]: https://developer.arm.com/docs/100737/0100/Power-management/Sleep-mode/Sleep-on-exit-bit
Like in `init`, `static mut` variables will be transformed into `&'static mut`
references that are safe to access. Notice, this feature may be deprecated in the next release, see `task_local` resources.
diff --git a/book/ru/src/by-example/app.md b/book/ru/src/by-example/app.md
index 5beca239..c2b518fd 100644
--- a/book/ru/src/by-example/app.md
+++ b/book/ru/src/by-example/app.md
@@ -73,7 +73,7 @@ $ cargo run --example init
Если функция `idle` не определена, среда вполнения устанавливает бит [SLEEPONEXIT], а затем
отправляет микроконтроллер в сон после запуска `init`.
-[SLEEPONEXIT]: https://developer.arm.com/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit
+[SLEEPONEXIT]: https://developer.arm.com/docs/100737/0100/Power-management/Sleep-mode/Sleep-on-exit-bit
Как и в `init`, `static mut` переменные будут трансформированы в `&'static mut` ссылки,
безопасные для доступа. Обратите внимание, данная возможность может