aboutsummaryrefslogtreecommitdiff
path: root/examples/resource.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge.aparicio@ferrous-systems.com> 2021-07-22 08:28:11 +0200
committerGravatar Jorge Aparicio <jorge.aparicio@ferrous-systems.com> 2021-07-22 08:28:11 +0200
commitae1f9008a4b8b4e12d4580e25f240d9ee352e6a4 (patch)
treec37200bb26e4bc0137b40ffb33d570a3f3af5123 /examples/resource.rs
parentcd4e8183f658a52dc9c3aafc789a2f87a5c6345e (diff)
downloadrtic-ae1f9008a4b8b4e12d4580e25f240d9ee352e6a4.tar.gz
rtic-ae1f9008a4b8b4e12d4580e25f240d9ee352e6a4.tar.zst
rtic-ae1f9008a4b8b4e12d4580e25f240d9ee352e6a4.zip
comment out line that doesn't compile
Diffstat (limited to '')
-rw-r--r--examples/resource.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/resource.rs b/examples/resource.rs
index 693ce896..dca0b370 100644
--- a/examples/resource.rs
+++ b/examples/resource.rs
@@ -61,7 +61,7 @@ mod app {
let local_to_uart0 = cx.local.local_to_uart0;
// error: no `local_to_uart1` field in `uart0::LocalResources`
- cx.local.local_to_uart1 += 1;
+ // cx.local.local_to_uart1 += 1;
hprintln!("UART0: local_to_uart0 = {}", local_to_uart0).unwrap();
}