diff options
Diffstat (limited to 'examples/destructure.rs')
-rw-r--r-- | examples/destructure.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/destructure.rs b/examples/destructure.rs index 1756bd9e..ad1d8594 100644 --- a/examples/destructure.rs +++ b/examples/destructure.rs @@ -22,9 +22,11 @@ const APP: () = { } #[init] - fn init(_: init::Context) { + fn init(_: init::Context) -> init::LateResources { rtic::pend(Interrupt::UART0); rtic::pend(Interrupt::UART1); + + init::LateResources {} } // Direct destructure |