rename LateResourceValues to LateResources

This commit is contained in:
Jorge Aparicio 2017-12-08 13:31:46 +01:00
parent e78ca98c42
commit 79e2b7dc2e
4 changed files with 9 additions and 9 deletions

View file

@ -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,
}
}