[avr][hal] Correct the compilation error unknown type name _pal_events

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13293 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Theodore Ateba 2020-01-18 14:39:38 +00:00
parent 7a3486e9c1
commit 8427c434bd
6 changed files with 23 additions and 0 deletions

View File

@ -29,10 +29,13 @@
/*==========================================================================*/
/* Driver exported variables. */
/*==========================================================================*/
#if (PAL_USE_WAIT == TRUE) || (PAL_USE_CALLBACKS == TRUE)
/**
* @brief Event records for the 16 GPIO EXTI channels.
*/
palevent_t _pal_events[16];
#endif
/*==========================================================================*/
/* Driver local variables and types. */

View File

@ -409,8 +409,10 @@ typedef uint8_t ioeventmode_t;
#if !defined(__DOXYGEN__)
extern const PALConfig pal_default_config;
#if (PAL_USE_WAIT == TRUE) || (PAL_USE_CALLBACKS == TRUE)
extern palevent_t _pal_events[16];
#endif
#endif
extern ROMCONST PALConfig pal_default_config;

View File

@ -30,6 +30,13 @@
/* Driver exported variables. */
/*==========================================================================*/
#if (PAL_USE_WAIT == TRUE) || (PAL_USE_CALLBACKS == TRUE)
/**
* @brief Event records for the 16 GPIO EXTI channels.
*/
palevent_t _pal_events[16];
#endif
/*==========================================================================*/
/* Driver local variables and types. */
/*==========================================================================*/

View File

@ -409,8 +409,10 @@ typedef uint8_t ioeventmode_t;
#if !defined(__DOXYGEN__)
extern const PALConfig pal_default_config;
#if (PAL_USE_WAIT == TRUE) || (PAL_USE_CALLBACKS == TRUE)
extern palevent_t _pal_events[16];
#endif
#endif
extern ROMCONST PALConfig pal_default_config;

View File

@ -30,6 +30,13 @@
/* Driver exported variables. */
/*==========================================================================*/
#if (PAL_USE_WAIT == TRUE) || (PAL_USE_CALLBACKS == TRUE)
/**
* @brief Event records for the 16 GPIO EXTI channels.
*/
palevent_t _pal_events[16];
#endif
/*==========================================================================*/
/* Driver local variables and types. */
/*==========================================================================*/

View File

@ -391,8 +391,10 @@ typedef uint8_t ioeventmode_t;
#if !defined(__DOXYGEN__)
extern const PALConfig pal_default_config;
#if (PAL_USE_WAIT == TRUE) || (PAL_USE_CALLBACKS == TRUE)
extern palevent_t _pal_events[16];
#endif
#endif
extern ROMCONST PALConfig pal_default_config;