Revision dada2194 modules/STM32F4Discovery/module.h

View differences:

modules/STM32F4Discovery/module.h
143 143
/**
144 144
 * @brief   Event flag to be set on a USER_BUTTON interrupt.
145 145
 */
146
#define MODULE_OS_IOEVENTFLAGS_USERBUTTON       ((eventflags_t)1 << GPIOA_BUTTON)
146
#define MODULE_OS_IOEVENTFLAGS_USERBUTTON       AOS_IOEVENT_FLAG(GPIOA_BUTTON)
147 147

  
148 148
#if (AMIROOS_CFG_SHELL_ENABLE == true) || defined(__DOXYGEN__)
149 149
/**

Also available in: Unified diff