aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mareq Balint <mareq@balint.eu> 2022-01-07 22:31:30 +0000
committerGravatar Mareq Balint <mareq@balint.eu> 2022-01-07 22:31:30 +0000
commit3da25c75cf76cd45bcff8c39a8d63ea4c0cd5544 (patch)
treeda33f09ed9cbf5c081665ad23c3e328f66a691da
parent2c921ac67c2e16f8d473a5825c7e29c681753f92 (diff)
downloadrtic-3da25c75cf76cd45bcff8c39a8d63ea4c0cd5544.tar.gz
rtic-3da25c75cf76cd45bcff8c39a8d63ea4c0cd5544.tar.zst
rtic-3da25c75cf76cd45bcff8c39a8d63ea4c0cd5544.zip
Correct wording in 1.2 Resource usage
-rw-r--r--book/en/src/by-example/resources.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/en/src/by-example/resources.md b/book/en/src/by-example/resources.md
index 9f2c6c57..0b69c4db 100644
--- a/book/en/src/by-example/resources.md
+++ b/book/en/src/by-example/resources.md
@@ -6,7 +6,7 @@ storage and safe accesses without the use of `unsafe` code.
RTIC resources are visible only to functions declared within the `#[app]` module and the framework
gives the user complete control (on a per-task basis) over resource accessibility.
-Declaration of system-wide resources are by annotating **two** `struct`s within the `#[app]` module
+Declaration of system-wide resources is done by annotating **two** `struct`s within the `#[app]` module
with the attribute `#[local]` and `#[shared]`.
Each field in these structures corresponds to a different resource (identified by field name).
The difference between these two sets of resources will be covered below.