diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-06-04 15:23:47 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-06-04 15:23:47 -0600 |
commit | 44af85860981ee7408bbb65fe43baa8245a7e926 (patch) | |
tree | c318a128a70b413a590114d9f825fe40b27bd959 /nuttx/configs/sam4l-xplained/src | |
parent | 9172affc0d3603a09cf55ea169715acb87dc1f8e (diff) | |
download | px4-nuttx-44af85860981ee7408bbb65fe43baa8245a7e926.tar.gz px4-nuttx-44af85860981ee7408bbb65fe43baa8245a7e926.tar.bz2 px4-nuttx-44af85860981ee7408bbb65fe43baa8245a7e926.zip |
More changes that should have gone with the last commit
Diffstat (limited to 'nuttx/configs/sam4l-xplained/src')
-rw-r--r-- | nuttx/configs/sam4l-xplained/src/sam4l-xplained.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/sam4l-xplained/src/sam4l-xplained.h b/nuttx/configs/sam4l-xplained/src/sam4l-xplained.h index edeb24fe1..e9efe88fe 100644 --- a/nuttx/configs/sam4l-xplained/src/sam4l-xplained.h +++ b/nuttx/configs/sam4l-xplained/src/sam4l-xplained.h @@ -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 /************************************************************************************ |