Skip to content

Commit

Permalink
Fix migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Sep 5, 2024
1 parent 24f67c9 commit a97780f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esp-hal/MIGRATING-0.20.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ However, if you want to, you can keep using their typed form!
```rust
let pin = Input::new(io.gpio0); // pin will have the type `Input<'some>` (or `Input<'some, ErasedPin>` if you want to be explicit about it)
let pin = Input::new_typed(io.gpio0); // pin will have the type `Input<'some, GpioPin<0>>`
```

## `esp_hal::time::current_time` rename

Expand Down

0 comments on commit a97780f

Please sign in to comment.