Skip to content

Commit

Permalink
Forget our problems (#2541)
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani authored Nov 14, 2024
1 parent d68550c commit c6404fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esp-hal/src/i2s/parallel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ where
self.i2s.instance.tx_wait_done();
let i2s = unsafe { ManuallyDrop::take(&mut self.i2s) };
let view = unsafe { ManuallyDrop::take(&mut self.buf_view) };
core::mem::forget(self);
(i2s, BUF::from_view(view))
}

Expand Down

0 comments on commit c6404fe

Please sign in to comment.