From 16e2a55bf42f532404cddd8ddbc7cbee38c39572 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 2 Sep 2017 16:35:10 +0000 Subject: Made PAL callback and wait APIs independent from each other. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10543 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F3xx/stm32_isr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/ports/STM32/STM32F3xx/stm32_isr.c') diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_isr.c b/os/hal/ports/STM32/STM32F3xx/stm32_isr.c index bfb969ce0..d9c27b8d2 100644 --- a/os/hal/ports/STM32/STM32F3xx/stm32_isr.c +++ b/os/hal/ports/STM32/STM32F3xx/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. */ -- cgit v1.2.3