Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove clutter from MG
  • Loading branch information
bugadani committed Nov 22, 2024
commit 5ed814b8b24f5d90c086bf1a43a351b79fe0fa35
4 changes: 2 additions & 2 deletions esp-hal/MIGRATING-0.22.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ in a generic function:

```rust
fn new_foo<'d, T>(
dma_channel: dma::ChannelCreator<2>, // It wasn't possible to accept a generic ChannelCreator.
dma_channel: ChannelCreator<2>, // It wasn't possible to accept a generic ChannelCreator.
peripheral: impl Peripheral<P = T> + 'd,
)
where
T: SomePeripheralInstance,
dma::ChannelCreator<2>: esp_hal::dma::DmaChannelConvert<<T as esp_hal::dma::DmaEligible>::Dma>,
ChannelCreator<2>: DmaChannelConvert<<T as DmaEligible>::Dma>,
{
let dma_channel = dma_channel.configure_for_async(false, DmaPriority::Priority0);

Expand Down
Loading