aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJorge Aparicio <jorge.aparicio@ferrous-systems.com>2021-07-21 15:59:08 +0200
committerJorge Aparicio <jorge.aparicio@ferrous-systems.com>2021-07-21 15:59:08 +0200
commitcd4e8183f658a52dc9c3aafc789a2f87a5c6345e (patch)
treea893bd7275d8c4b4de09bc059cc60f88a856f4f6 /examples
parent6bf1c76d842b40cd1b24b4a517e42e624ade836f (diff)
book/resources: remove mentions of the field attribute #[init(<expr>)]
it no longer exists. all resources are now late resources
Diffstat (limited to 'examples')
-rw-r--r--examples/resource.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/resource.rs b/examples/resource.rs
index 260f675..693ce89 100644
--- a/examples/resource.rs
+++ b/examples/resource.rs
@@ -28,6 +28,7 @@ mod app {
(
Shared {},
+ // initial values for the `#[local]` resources
Local {
local_to_uart0: 0,
local_to_uart1: 0,