diff options
Diffstat (limited to 'os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c')
-rw-r--r-- | os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c index e1f63d3fd..9ca51f5b9 100644 --- a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c +++ b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c @@ -43,10 +43,12 @@ /* Driver exported variables. */
/*===========================================================================*/
+#if (PAL_USE_WAIT == TRUE) || (PAL_USE_CALLBACKS == TRUE) || defined(__DOXYGEN__)
/**
* @brief Event records for the 16 GPIO EXTI channels.
*/
palevent_t _pal_events[16];
+#endif
/*===========================================================================*/
/* Driver local variables and types. */
|