aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/NETDUINO_PLUS_2
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/boards/NETDUINO_PLUS_2')
-rw-r--r--stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
index b355486e2..412dede13 100644
--- a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
+++ b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
@@ -20,8 +20,8 @@
// USRSW is pulled low. Pressing the button makes the input go high.
#define USRSW_PIN (pin_B11)
-#define USRSW_PUPD (GPIO_PuPd_NOPULL)
-#define USRSW_EXTI_EDGE (EXTI_Trigger_Rising)
+#define USRSW_PULL (GPIO_NOPULL)
+#define USRSW_EXTI_MODE (GPIO_MODE_IT_RISING)
#define USRSW_PRESSED (1)
/* LED */