Skip to content

Commit

Permalink
Add an entry to migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
playfulFence committed Dec 20, 2024
1 parent ef5557a commit 9f6a400
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions esp-hal/MIGRATING-0.22.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,3 +336,10 @@ The reexports that were previously part of the prelude are available through oth
- `esp_hal::timer::Timer`
- `esp_hal::interrupt::InterruptConfigurable`
- The `entry` macro can be imported as `esp_hal::entry`, while other macros are found under `esp_hal::macros`

## `AtCmdConfig` now uses builder-lite pattern

```diff
- uart0.set_at_cmd(AtCmdConfig::new(None, None, None, b'#', None));
+ uart0.set_at_cmd(AtCmdConfig::default().with_cmd_char(b'#'));
```

0 comments on commit 9f6a400

Please sign in to comment.