Correct wording in 1.2 Resource usage

This commit is contained in:
Mareq Balint 2022-01-07 22:31:30 +00:00
parent 2c921ac67c
commit 3da25c75cf
No known key found for this signature in database
GPG key ID: 878AD344E0B9AB52

View file

@ -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 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. 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]`. with the attribute `#[local]` and `#[shared]`.
Each field in these structures corresponds to a different resource (identified by field name). 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. The difference between these two sets of resources will be covered below.