Skip to content

Commit

Permalink
Merge #690
Browse files Browse the repository at this point in the history
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>
bors[bot] and AfoHT authored Jan 22, 2023
2 parents b0bda53 + c29e477 commit 3240fb3
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion ui/task-priority-too-high.rs
Original file line number Diff line number Diff line change
@@ -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())
}

8 changes: 0 additions & 8 deletions ui/task-priority-too-high.stderr
Original file line number Diff line number Diff line change
@@ -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
|

0 comments on commit 3240fb3

Please sign in to comment.