From a9909ee9d770f61a98d7189165783869c744e2d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Mon, 20 Jan 2025 20:58:42 +0100 Subject: [PATCH] Fix not registering I2S interrupts when only using TX --- esp-hal/src/dma/pdma/i2s.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp-hal/src/dma/pdma/i2s.rs b/esp-hal/src/dma/pdma/i2s.rs index 6884378ad4..786887c600 100644 --- a/esp-hal/src/dma/pdma/i2s.rs +++ b/esp-hal/src/dma/pdma/i2s.rs @@ -138,11 +138,11 @@ impl TxRegisterAccess for AnyI2sDmaTxChannel { } fn peripheral_interrupt(&self) -> Option { - None + Some(self.0.peripheral_interrupt()) } fn async_handler(&self) -> Option { - None + Some(self.0.async_handler()) } }