aboutsummaryrefslogtreecommitdiff
path: root/examples/binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/binds.rs')
-rw-r--r--examples/binds.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/binds.rs b/examples/binds.rs
index 82bf8964..f3ce51ec 100644
--- a/examples/binds.rs
+++ b/examples/binds.rs
@@ -13,10 +13,12 @@ use panic_semihosting as _;
#[rtic::app(device = lm3s6965)]
const APP: () = {
#[init]
- fn init(_: init::Context) {
+ fn init(_: init::Context) -> init::LateResources {
rtic::pend(Interrupt::UART0);
hprintln!("init").unwrap();
+
+ init::LateResources {}
}
#[idle]