fix the "generics" example

This commit is contained in:
Jorge Aparicio 2017-12-09 14:45:59 +01:00
parent 79e2b7dc2e
commit 512091e8a3

View file

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