summaryrefslogtreecommitdiff
path: root/nuttx/configs/tm4c123g-launchpad/src/tm4c123g-launchpad.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/tm4c123g-launchpad/src/tm4c123g-launchpad.h')
-rw-r--r--nuttx/configs/tm4c123g-launchpad/src/tm4c123g-launchpad.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/configs/tm4c123g-launchpad/src/tm4c123g-launchpad.h b/nuttx/configs/tm4c123g-launchpad/src/tm4c123g-launchpad.h
index 05c5ea6b2..668ef2ef4 100644
--- a/nuttx/configs/tm4c123g-launchpad/src/tm4c123g-launchpad.h
+++ b/nuttx/configs/tm4c123g-launchpad/src/tm4c123g-launchpad.h
@@ -167,8 +167,12 @@
* BOARD_SW2 -- Connected to PF0
*/
-#define GPIO_SW1 (GPIO_FUNC_INTERRUPT | GPIO_INT_BOTHEDGES | GPIO_PORTF | GPIO_PIN_1)
-#define GPIO_SW2 (GPIO_FUNC_INTERRUPT | GPIO_INT_BOTHEDGES | GPIO_PORTF | GPIO_PIN_1)
+#define GPIO_SW1 (GPIO_FUNC_INTERRUPT | GPIO_INT_BOTHEDGES | \
+ GPIO_STRENGTH_2MA | GPIO_PADTYPE_STDWPU | GPIO_PORTF | \
+ GPIO_PIN_4)
+#define GPIO_SW2 (GPIO_FUNC_INTERRUPT | GPIO_INT_BOTHEDGES | \
+ GPIO_STRENGTH_2MA | GPIO_PADTYPE_STDWPU | GPIO_PORTF | \
+ GPIO_PIN_0)
/************************************************************************************
* Public Functions