aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F7xx/stm32_isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32F7xx/stm32_isr.c')
-rw-r--r--os/hal/ports/STM32/STM32F7xx/stm32_isr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_isr.c b/os/hal/ports/STM32/STM32F7xx/stm32_isr.c
index 447d389db..a51705a11 100644
--- a/os/hal/ports/STM32/STM32F7xx/stm32_isr.c
+++ b/os/hal/ports/STM32/STM32F7xx/stm32_isr.c
@@ -51,7 +51,7 @@
/* Driver interrupt handlers. */
/*===========================================================================*/
-#if HAL_USE_PAL || defined(__DOXYGEN__)
+#if (HAL_USE_PAL && (PAL_USE_WAIT || PAL_USE_CALLBACKS)) || defined(__DOXYGEN__)
#if !defined(STM32_DISABLE_EXTI0_HANDLER)
/**
* @brief EXTI[0] interrupt handler.
@@ -210,7 +210,7 @@ OSAL_IRQ_HANDLER(VectorE0) {
}
#endif
-#endif /* HAL_USE_PAL */
+#endif /* HAL_USE_PAL && (PAL_USE_WAIT || PAL_USE_CALLBACKS) */
/*===========================================================================*/
/* Driver exported functions. */