aboutsummaryrefslogtreecommitdiff
path: root/examples/extern_binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/extern_binds.rs')
-rw-r--r--examples/extern_binds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/extern_binds.rs b/examples/extern_binds.rs
index 632f4ca0..3c8786dd 100644
--- a/examples/extern_binds.rs
+++ b/examples/extern_binds.rs
@@ -20,12 +20,12 @@ mod app {
use lm3s6965::Interrupt;
#[init]
- fn init(_: init::Context) -> init::LateResources {
+ fn init(_: init::Context) -> (init::LateResources, init::Monotonics) {
rtic::pend(Interrupt::UART0);
hprintln!("init").unwrap();
- init::LateResources {}
+ (init::LateResources {}, init::Monotonics())
}
#[idle]