Skip to content

Commit

Permalink
fix the "generics" example
Browse files Browse the repository at this point in the history
  • Loading branch information
japaric committed Dec 9, 2017
1 parent 79e2b7d commit 512091e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/generics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 512091e

Please sign in to comment.