aboutsummaryrefslogtreecommitdiff
path: root/examples/resource-user-struct.rs
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2023-01-08 19:40:31 +0100
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2023-03-01 00:33:28 +0100
commitceaf3613d3256f60b139a4f93220e3c298603b83 (patch)
tree02ee64f2ac4bebea1abe85f85ca761e44ea8beb9 /examples/resource-user-struct.rs
parent9a67f00a30f14df3b9635913f728afd0b40c138d (diff)
downloadrtic-ceaf3613d3256f60b139a4f93220e3c298603b83.tar.gz
rtic-ceaf3613d3256f60b139a4f93220e3c298603b83.tar.zst
rtic-ceaf3613d3256f60b139a4f93220e3c298603b83.zip
Update semihosting
Diffstat (limited to 'examples/resource-user-struct.rs')
-rw-r--r--examples/resource-user-struct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/resource-user-struct.rs b/examples/resource-user-struct.rs
index a4478ce6..2acbbc36 100644
--- a/examples/resource-user-struct.rs
+++ b/examples/resource-user-struct.rs
@@ -55,7 +55,7 @@ mod app {
*shared
});
- hprintln!("UART0: shared = {}", shared).unwrap();
+ hprintln!("UART0: shared = {}", shared);
}
// `shared` can be accessed from this context
@@ -66,6 +66,6 @@ mod app {
*shared
});
- hprintln!("UART1: shared = {}", shared).unwrap();
+ hprintln!("UART1: shared = {}", shared);
}
}