mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
fix the "generics" example
This commit is contained in:
parent
79e2b7dc2e
commit
512091e8a3
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ app! {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
fn init(p: init::Peripherals) -> init::LateResourceValues {
|
fn init(p: init::Peripherals) -> init::LateResources {
|
||||||
init::LateResourceValues {
|
init::LateResources {
|
||||||
GPIOA: p.device.GPIOA,
|
GPIOA: p.device.GPIOA,
|
||||||
SPI1: p.device.SPI1,
|
SPI1: p.device.SPI1,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue