aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2019-12-04 19:13:35 +0000
committerGravatar GitHub <noreply@github.com> 2019-12-04 19:13:35 +0000
commit1e827e24d024e910b44f6cc6db278e4c66a77683 (patch)
tree757ff0de88a85fbae15322fd9d238c1f2e74d98f
parentffe4c0786985da1b8efd8c225f991e6afc6cddc2 (diff)
parent2be654116b8ec6583ad7c96c7c6e108597de65c3 (diff)
downloadrtic-1e827e24d024e910b44f6cc6db278e4c66a77683.tar.gz
rtic-1e827e24d024e910b44f6cc6db278e4c66a77683.tar.zst
rtic-1e827e24d024e910b44f6cc6db278e4c66a77683.zip
Merge #284
284: book, Russian lang: fix "idle not defined" typo r=burbull a=kolen Fix typo in Russian translation of book, was "When idle function is declared", should be "When no idle function is declared" "не" means "not". Corresponding text in English: ```markdown When no `idle` function is declared, the runtime sets the [SLEEPONEXIT] bit and then sends the microcontroller to sleep after running `init`. ``` Co-authored-by: Konstantin Mochalov <incredible.angst@gmail.com>
-rw-r--r--book/ru/src/by-example/app.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/ru/src/by-example/app.md b/book/ru/src/by-example/app.md
index bf8d5746..7dc08127 100644
--- a/book/ru/src/by-example/app.md
+++ b/book/ru/src/by-example/app.md
@@ -63,7 +63,7 @@ $ cargo run --example init
`init`, `idle` запустится *с включенными прерываниями* и не может завершиться,
поэтому будет работать бесконечно.
-Когда функция `idle` определена, рантайм устанавливает бит [SLEEPONEXIT], после чего
+Когда функция `idle` не определена, рантайм устанавливает бит [SLEEPONEXIT], после чего
отправляет микроконтроллер в состояние сна после выполнения `init`.
[SLEEPONEXIT]: https://developer.arm.com/products/architecture/cpu-architecture/m-profile/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit