Skip to content

Commit be30dda

Browse files
committed
fix: not listening to interrupts by default
1 parent 751ce01 commit be30dda

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

esp-hal/src/i2s/master.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -998,8 +998,6 @@ where
998998
self.i2s.reset_tx();
999999

10001000
// Enable corresponding interrupts if needed
1001-
#[cfg(not(any(esp32, esp32s2)))]
1002-
self.i2s.listen(I2sInterrupt::TxDone);
10031001

10041002
// configure DMA outlink
10051003
unsafe {
@@ -1068,8 +1066,6 @@ where
10681066
self.i2s.reset_rx();
10691067

10701068
// Enable corresponding interrupts if needed
1071-
#[cfg(not(any(esp32, esp32s2)))]
1072-
self.i2s.listen(I2sInterrupt::RxDone);
10731069

10741070
// configure DMA inlink
10751071
unsafe {

0 commit comments

Comments
 (0)