From cd4e8183f658a52dc9c3aafc789a2f87a5c6345e Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 21 Jul 2021 15:59:08 +0200 Subject: book/resources: remove mentions of the field attribute #[init()] it no longer exists. all resources are now late resources --- examples/resource.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/resource.rs') 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, -- cgit v1.2.3