diff options
author | 2023-01-22 07:06:30 +0000 | |
---|---|---|
committer | 2023-01-22 07:06:30 +0000 | |
commit | 3240fb332a7b1b17333ac1c589b303909bde1dc9 (patch) | |
tree | 32190e60eae19e84e4ffc2886ab6c58b27107f58 | |
parent | b0bda53e4e650dccb1a30718ce8dbefef6584ad0 (diff) | |
parent | c29e477aa1849dc93daf6625a09d67cfcb5fc1e1 (diff) | |
download | rtic-3240fb332a7b1b17333ac1c589b303909bde1dc9.tar.gz rtic-3240fb332a7b1b17333ac1c589b303909bde1dc9.tar.zst rtic-3240fb332a7b1b17333ac1c589b303909bde1dc9.zip |
Merge #690
690: NVIC prio bits must be in the range 1..=255: Handled by logical2hw() r=korken89 a=AfoHT
Fixes #687
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
-rw-r--r-- | ui/task-priority-too-high.rs | 2 | ||||
-rw-r--r-- | ui/task-priority-too-high.stderr | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/ui/task-priority-too-high.rs b/ui/task-priority-too-high.rs index 46ab5617..e7e0cce2 100644 --- a/ui/task-priority-too-high.rs +++ b/ui/task-priority-too-high.rs @@ -9,7 +9,7 @@ mod app { struct Local {} #[init] - fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { + fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { (Shared {}, Local {}, init::Monotonics()) } diff --git a/ui/task-priority-too-high.stderr b/ui/task-priority-too-high.stderr index a7a15ebf..026124c8 100644 --- a/ui/task-priority-too-high.stderr +++ b/ui/task-priority-too-high.stderr @@ -1,11 +1,3 @@ -warning: unused variable: `cx` - --> ui/task-priority-too-high.rs:12:13 - | -12 | fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { - | ^^ help: if this is intentional, prefix it with an underscore: `_cx` - | - = note: `#[warn(unused_variables)]` on by default - error[E0080]: evaluation of constant value failed --> ui/task-priority-too-high.rs:3:1 | |