diff options
Diffstat (limited to 'book')
| -rw-r--r-- | book/en/src/by-example/resources.md | 4 | ||||
| -rw-r--r-- | book/ru/src/preface.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/book/en/src/by-example/resources.md b/book/en/src/by-example/resources.md index efdeaa2..46d04a7 100644 --- a/book/en/src/by-example/resources.md +++ b/book/en/src/by-example/resources.md @@ -78,8 +78,8 @@ runtime initialized resources as *late resources*. Late resources are useful for interrupt and exception handlers. Late resources are declared like normal resources but that are given an initial -value of `()` (the unit value). Late resources must be initialized at the end of -the `init` function using plain assignments (e.g. `FOO = 1`). +value of `()` (the unit value). `init` must return the initial values of all +late resources packed in a `struct` of type `init::LateResources`. The example below uses late resources to stablish a lockless, one-way channel between the `UART0` interrupt handler and the `idle` function. A single producer diff --git a/book/ru/src/preface.md b/book/ru/src/preface.md index ee01d10..0f9bd67 100644 --- a/book/ru/src/preface.md +++ b/book/ru/src/preface.md @@ -7,6 +7,6 @@ Эта книга содержит документацию уровня пользователя фреймворком Real Time For the Masses (RTFM). Описание API можно найти [здесь](../api/rtfm/index.html). -{{#include ../..ADME_RU.md:5:54}} +{{#include README_RU.md:5:44}} -{{#include ../..ADME_RU.md:60:}} +{{#include README_RU.md:50:}} |
