diff options
author | 2020-10-05 18:26:00 +0000 | |
---|---|---|
committer | 2020-10-05 18:26:00 +0000 | |
commit | 12aa9807c4883e1c8b3f226acea3a6aa5e886989 (patch) | |
tree | 4febd53f9ba370a40e3ee0f3630a3542d1be4964 /examples/t-binds.rs | |
parent | f493f21359ccb3ab4643d9470f3581532f47593a (diff) | |
parent | 8ab7be98714d1ef6298e6feb19f16b84cd9bb4e6 (diff) | |
download | rtic-12aa9807c4883e1c8b3f226acea3a6aa5e886989.tar.gz rtic-12aa9807c4883e1c8b3f226acea3a6aa5e886989.tar.zst rtic-12aa9807c4883e1c8b3f226acea3a6aa5e886989.zip |
Merge #372
372: Now late resources are always used r=AfoHT a=korken89
Awaits the PR in `rtic-syntax`: https://github.com/rtic-rs/rtic-syntax/pull/32
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'examples/t-binds.rs')
-rw-r--r-- | examples/t-binds.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/t-binds.rs b/examples/t-binds.rs index 7d7bd7d2..3ca4c66e 100644 --- a/examples/t-binds.rs +++ b/examples/t-binds.rs @@ -10,7 +10,9 @@ use panic_halt as _; #[rtic::app(device = lm3s6965)] mod app { #[init] - fn init(_: init::Context) {} + fn init(_: init::Context) -> init::LateResources { + init::LateResources {} + } // Cortex-M exception #[task(binds = SVCall)] |