diff options
Diffstat (limited to 'examples/binds.rs')
-rw-r--r-- | examples/binds.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/binds.rs b/examples/binds.rs index 9c73433b..42010ae2 100644 --- a/examples/binds.rs +++ b/examples/binds.rs @@ -13,10 +13,12 @@ use panic_semihosting as _; #[rtic::app(device = lm3s6965)] mod app { #[init] - fn init(_: init::Context) { + fn init(_: init::Context) -> init::LateResources { rtic::pend(Interrupt::UART0); hprintln!("init").unwrap(); + + init::LateResources {} } #[idle] |