diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-02 16:35:10 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-02 16:35:10 +0000 |
commit | 16e2a55bf42f532404cddd8ddbc7cbee38c39572 (patch) | |
tree | 31420acfcb28168ac876f45f0c51253090d8f547 /os/hal/ports/STM32/STM32L1xx | |
parent | a489fc365df4d1b4f407438c2efcee428e073e49 (diff) | |
download | ChibiOS-16e2a55bf42f532404cddd8ddbc7cbee38c39572.tar.gz ChibiOS-16e2a55bf42f532404cddd8ddbc7cbee38c39572.tar.bz2 ChibiOS-16e2a55bf42f532404cddd8ddbc7cbee38c39572.zip |
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
Diffstat (limited to 'os/hal/ports/STM32/STM32L1xx')
-rw-r--r-- | os/hal/ports/STM32/STM32L1xx/stm32_isr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_isr.c b/os/hal/ports/STM32/STM32L1xx/stm32_isr.c index 3682c5a8a..6d1a49d0b 100644 --- a/os/hal/ports/STM32/STM32L1xx/stm32_isr.c +++ b/os/hal/ports/STM32/STM32L1xx/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. */
|