mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 23:35:47 +00:00
More changes that should have gone with the last commit
This commit is contained in:
parent
0cb54ca565
commit
f24946fecd
1 changed files with 3 additions and 3 deletions
|
|
@ -80,7 +80,7 @@
|
|||
* 2Hz, then a fatal error has been detected and the system has halted.
|
||||
*/
|
||||
|
||||
#define GPIO_LED0 (GPIO_OUTPUT | GPIO_CFG_DEFAULT | GPIO_PORT_PIOC | \
|
||||
#define GPIO_LED0 (GPIO_OUTPUT | GPIO_PULL_NONE | GPIO_PORTC | \
|
||||
GPIO_OUTPUT_SET | GPIO_PIN7)
|
||||
|
||||
/* QTouch button: The SAM4L Xplained Pro kit has one QTouch button. The connection
|
||||
|
|
@ -99,8 +99,8 @@
|
|||
* PC24 SW0
|
||||
*/
|
||||
|
||||
#define GPIO_SW0 (GPIO_INPUT | GPIO_CFG_PULLUP | GPIO_CFG_DEGLITCH | \
|
||||
GPIO_PORT_PIOC | GPIO_PIN24)
|
||||
#define GPIO_SW0 (GPIO_INPUT | GPIO_PULL_UP | GPIO_GLITCH_FILTER | GPIO_PORTC | \
|
||||
GPIO_PIN24)
|
||||
#define IRQ_SW0 SAM_IRQ_PC24
|
||||
|
||||
/************************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue