mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 03:19:34 +01:00
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>
This commit is contained in:
commit
3240fb332a
2 changed files with 1 additions and 9 deletions
|
@ -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())
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
||||
|
|
Loading…
Reference in a new issue