diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-05 18:26:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-05 18:26:00 +0000 |
| commit | 12aa9807c4883e1c8b3f226acea3a6aa5e886989 (patch) | |
| tree | 4febd53f9ba370a40e3ee0f3630a3542d1be4964 /ui/single/task-priority-too-high.rs | |
| parent | f493f21359ccb3ab4643d9470f3581532f47593a (diff) | |
| parent | 8ab7be98714d1ef6298e6feb19f16b84cd9bb4e6 (diff) | |
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 'ui/single/task-priority-too-high.rs')
| -rw-r--r-- | ui/single/task-priority-too-high.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/single/task-priority-too-high.rs b/ui/single/task-priority-too-high.rs index fbafa4d..caa7b8e 100644 --- a/ui/single/task-priority-too-high.rs +++ b/ui/single/task-priority-too-high.rs @@ -3,7 +3,9 @@ #[rtic::app(device = lm3s6965)] mod app { #[init] - fn init(_: init::Context) {} + fn init(_: init::Context) -> init::LateResources { + init::LateResources {} + } #[task(binds = GPIOA, priority = 1)] fn gpioa(_: gpioa::Context) {} |
