Skip to content

Commit

Permalink
Merge pull request #90 from hannobraun/swm
Browse files Browse the repository at this point in the history
Merge infrastructure for fixed and movable functions
  • Loading branch information
hannobraun authored May 18, 2018
2 parents e377c1a + 81014ee commit 70713d9
Show file tree
Hide file tree
Showing 5 changed files with 234 additions and 678 deletions.
2 changes: 1 addition & 1 deletion examples/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn main() -> ! {

// Configure PIO0_3 as GPIO output, so we can use it to blink an LED.
let (pio0_3, _) = pio0_3
.disable_output_function(swclk, &mut swm_handle);
.unassign_output_function(swclk, &mut swm_handle);
let mut pio0_3 = pio0_3
.into_unused_pin()
.into_gpio_pin(&gpio_handle)
Expand Down
Loading

0 comments on commit 70713d9

Please sign in to comment.