Skip to content

Commit

Permalink
Fix copy-paste mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 14, 2024
1 parent daee411 commit 3f7cf13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions esp-hal/src/dma/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ where
self.set_interrupt_handler(handler);
}
ChannelRx {
burst_mode: false,
burst_mode: self.burst_mode,
rx_impl: self.rx_impl,
_phantom: PhantomData,
}
Expand Down Expand Up @@ -1725,7 +1725,7 @@ where
crate::interrupt::disable(Cpu::current(), interrupt);
}
ChannelRx {
burst_mode: false,
burst_mode: self.burst_mode,
rx_impl: self.rx_impl,
_phantom: PhantomData,
}
Expand Down Expand Up @@ -1973,7 +1973,7 @@ where
self.set_interrupt_handler(handler);
}
ChannelTx {
burst_mode: false,
burst_mode: self.burst_mode,
tx_impl: self.tx_impl,
_phantom: PhantomData,
}
Expand Down Expand Up @@ -2006,7 +2006,7 @@ where
crate::interrupt::disable(Cpu::current(), interrupt);
}
ChannelTx {
burst_mode: false,
burst_mode: self.burst_mode,
tx_impl: self.tx_impl,
_phantom: PhantomData,
}
Expand Down

0 comments on commit 3f7cf13

Please sign in to comment.