mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-24 19:09:33 +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 {
|
||||
init::LateResourceValues {
|
||||
fn init(p: init::Peripherals) -> init::LateResources {
|
||||
init::LateResources {
|
||||
GPIOA: p.device.GPIOA,
|
||||
SPI1: p.device.SPI1,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue