mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 12:55:23 +01:00
rename LateResourceValues to LateResources
This commit is contained in:
parent
e78ca98c42
commit
79e2b7dc2e
4 changed files with 9 additions and 9 deletions
|
|
@ -30,12 +30,12 @@ app! {
|
|||
},
|
||||
}
|
||||
|
||||
fn init(_p: init::Peripherals, r: init::Resources) -> init::LateResourceValues {
|
||||
fn init(_p: init::Peripherals, r: init::Resources) -> init::LateResources {
|
||||
// Try to use a resource that's not yet initialized:
|
||||
r.LATE;
|
||||
//~^ error: no field `LATE`
|
||||
|
||||
init::LateResourceValues {
|
||||
init::LateResources {
|
||||
LATE: 0,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue