From 5ff4c2f1f44b869ee6f8a161b10007e76cf26ada Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sat, 4 Feb 2023 01:00:31 +0000 Subject: [PATCH] Add #1970 update --- Processors/TFT_eSPI_STM32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Processors/TFT_eSPI_STM32.c b/Processors/TFT_eSPI_STM32.c index 9fcd013..950677c 100644 --- a/Processors/TFT_eSPI_STM32.c +++ b/Processors/TFT_eSPI_STM32.c @@ -598,6 +598,8 @@ bool TFT_eSPI::initDMA(bool ctrl_cs) HAL_NVIC_EnableIRQ(DMA2_Stream3_IRQn); // Enable DMA end interrupt handler #elif (TFT_SPI_PORT == 2) HAL_NVIC_EnableIRQ(DMA1_Stream4_IRQn); // Enable DMA end interrupt handler + #elif (TFT_SPI_PORT == 3) + HAL_NVIC_EnableIRQ(DMA1_Stream5_IRQn); #endif __HAL_LINKDMA(&spiHal, hdmatx, dmaHal); // Attach DMA engine to SPI peripheral