Skip to content

Commit

Permalink
Update migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Jan 8, 2025
1 parent 4dbe468 commit 35e85a8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion esp-hal/MIGRATING-0.22.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,20 @@ The specific CPU clock variants are renamed from e.g. `Clock80MHz` to `_80MHz`.

Additionally the enum is marked as non-exhaustive.

## SPI Modes
## SPI Changes

The SPI mode variants are renamed from e.g. `Mode0` to `_0`.

```diff
- Mode::Mode0
+ Mode::_0
```

The Address and Command enums have similarly had their variants changed from e.g. `Address1` to `_1Bit` and `Command1` to `_1Bit` respectively:

```diff
- Address::Address1
+ Address::_1Bit
- Command::Command1
+ Command::_1Bit
```

0 comments on commit 35e85a8

Please sign in to comment.