Revision c3942f1c
modules/STM32F4Discovery/module.h | ||
---|---|---|
176 | 176 |
/** |
177 | 177 |
* @brief HOOK to toggle the LEDs when the user button is pressed. |
178 | 178 |
*/ |
179 |
#define MODULE_MAIN_LOOP_IO_EVENT(eventflags) { \ |
|
179 |
#define MODULE_MAIN_LOOP_IO_EVENT(eventflags) { \
|
|
180 | 180 |
if (eventflags & MODULE_OS_IOEVENTFLAGS_USERBUTTON) { \ |
181 | 181 |
apalControlGpioState_t buttonstate; \ |
182 | 182 |
apalControlGpioGet(&moduleGpioUserButton, &buttonstate); \ |
Also available in: Unified diff