You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/11 15:21:23 UTC

[incubator-nuttx] branch master updated: xtensa/esp32s2: Fix missing parenthesis on macro expression

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new efca63e  xtensa/esp32s2: Fix missing parenthesis on macro expression
efca63e is described below

commit efca63e9e3428ce0cfd02ccef9ee89cc93703294
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Tue Jan 11 10:27:40 2022 -0300

    xtensa/esp32s2: Fix missing parenthesis on macro expression
    
    Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
 arch/xtensa/include/esp32s2/irq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/xtensa/include/esp32s2/irq.h b/arch/xtensa/include/esp32s2/irq.h
index 20c95b4..ffd9588 100644
--- a/arch/xtensa/include/esp32s2/irq.h
+++ b/arch/xtensa/include/esp32s2/irq.h
@@ -244,7 +244,7 @@
 #define ESP32S2_IRQ_GPIO_INT_APP      (XTENSA_IRQ_FIRSTPERI + ESP32S2_PERI_GPIO_INT_APP)
 #define ESP32S2_IRQ_GPIO_INT_APP_NMI  (XTENSA_IRQ_FIRSTPERI + ESP32S2_PERI_GPIO_INT_APP_NMI)
 #define ESP32S2_IRQ_DEDICATED_GPIO_IN (XTENSA_IRQ_FIRSTPERI + ESP32S2_PERI_DEDICATED_GPIO_IN)
-#define ESP32S2_IRQ_INT_FROM_CPU0     (XTENSA_IRQ_FIRSTPERI + ESP32S2_PERI_INT_FROM_CPU0
+#define ESP32S2_IRQ_INT_FROM_CPU0     (XTENSA_IRQ_FIRSTPERI + ESP32S2_PERI_INT_FROM_CPU0)
 #define ESP32S2_IRQ_INT_FROM_CPU1     (XTENSA_IRQ_FIRSTPERI + ESP32S2_PERI_INT_FROM_CPU1)
 
 #define ESP32S2_IRQ_INT_FROM_CPU2     (XTENSA_IRQ_FIRSTPERI + ESP32S2_PERI_INT_FROM_CPU2)