Commit 512091e8 authored by Jorge Aparicio's avatar Jorge Aparicio

fix the "generics" example

parent 79e2b7dc
......@@ -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,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment