diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-04 19:13:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-04 19:13:35 +0000 |
| commit | 1e827e24d024e910b44f6cc6db278e4c66a77683 (patch) | |
| tree | 757ff0de88a85fbae15322fd9d238c1f2e74d98f /book/ru | |
| parent | ffe4c0786985da1b8efd8c225f991e6afc6cddc2 (diff) | |
| parent | 2be654116b8ec6583ad7c96c7c6e108597de65c3 (diff) | |
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>
Diffstat (limited to 'book/ru')
| -rw-r--r-- | book/ru/src/by-example/app.md | 2 |
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 bf8d574..7dc0812 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 |
