diff options
Diffstat (limited to 'stmhal/boards/PYBOARD3/mpconfigboard.h')
| -rw-r--r-- | stmhal/boards/PYBOARD3/mpconfigboard.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/boards/PYBOARD3/mpconfigboard.h b/stmhal/boards/PYBOARD3/mpconfigboard.h index 6b15b2015..e0920f685 100644 --- a/stmhal/boards/PYBOARD3/mpconfigboard.h +++ b/stmhal/boards/PYBOARD3/mpconfigboard.h @@ -16,8 +16,8 @@ // USRSW has no pullup or pulldown, and pressing the switch makes the input go low #define USRSW_PIN (pin_A13) -#define USRSW_PUPD (GPIO_PuPd_UP) -#define USRSW_EXTI_EDGE (EXTI_Trigger_Falling) +#define USRSW_PULL (GPIO_PULLUP) +#define USRSW_EXTI_MODE (GPIO_MODE_IT_FALLING) #define USRSW_PRESSED (0) /* LED */ |
