From dc130b48304691d0e825b90ac9ea0d3d920c69ca Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Thu, 24 Feb 2022 20:39:14 +0100 Subject: [PATCH] arch/xtensa/esp32s2_irq.c: Correctly enable the software interrupt. Signed-off-by: Abdelatif Guettouche --- arch/xtensa/src/esp32s2/esp32s2_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/xtensa/src/esp32s2/esp32s2_irq.c b/arch/xtensa/src/esp32s2/esp32s2_irq.c index 67f1b2a932..598a49938c 100644 --- a/arch/xtensa/src/esp32s2/esp32s2_irq.c +++ b/arch/xtensa/src/esp32s2/esp32s2_irq.c @@ -112,6 +112,6 @@ void up_irqinitialize(void) /* Enable the software interrupt. */ - up_enable_irq(XTENSA_IRQ_SWINT); + up_enable_irq(ESP32S2_CPUINT_SOFTWARE1); }