mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
adapt to changes in the cortex-m crate
This commit is contained in:
parent
dd12a6a14d
commit
1be43fc489
11 changed files with 69 additions and 42 deletions
|
|
@ -43,7 +43,7 @@ app! {
|
|||
}
|
||||
}
|
||||
|
||||
fn init(p: init::Peripherals, r: init::Resources) {
|
||||
fn init(mut p: init::Peripherals, r: init::Resources) {
|
||||
// `init` can modify all the `resources` declared in `app!`
|
||||
r.ON;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue