Revision 514ae7d6
modules/STM32F4Discovery/module.h | ||
---|---|---|
186 | 186 |
/** |
187 | 187 |
* @brief HOOK to toggle the LEDs when the user button is pressed. |
188 | 188 |
*/ |
189 |
#define MODULE_MAIN_LOOP_IO_EVENT(eventmask, eventflags) { \
|
|
189 |
#define MODULE_MAIN_LOOP_IO_EVENT(eventflags) { \ |
|
190 | 190 |
if (eventflags & MODULE_OS_IOEVENTFLAGS_USERBUTTON) { \ |
191 | 191 |
apalGpioToggle(moduleGpioLedRed.gpio); \ |
192 | 192 |
apalGpioToggle(moduleGpioLedGreen.gpio); \ |
Also available in: Unified diff