summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sam34/sam4s_gpio.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-06-26 10:54:12 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-06-26 10:54:12 -0600
commitd6fc7fd30ee2fb16e3e476565e37f9ae0eb87c67 (patch)
treeef2a180885105f33f94731e0a8c2468efe59bc42 /nuttx/arch/arm/src/sam34/sam4s_gpio.h
parentbbdf7a9ec4b7af902c0036125da19419ded33d08 (diff)
downloadpx4-nuttx-d6fc7fd30ee2fb16e3e476565e37f9ae0eb87c67.tar.gz
px4-nuttx-d6fc7fd30ee2fb16e3e476565e37f9ae0eb87c67.tar.bz2
px4-nuttx-d6fc7fd30ee2fb16e3e476565e37f9ae0eb87c67.zip
Fix integration of RAM test into the build and configuration system
Diffstat (limited to 'nuttx/arch/arm/src/sam34/sam4s_gpio.h')
-rw-r--r--nuttx/arch/arm/src/sam34/sam4s_gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/sam34/sam4s_gpio.h b/nuttx/arch/arm/src/sam34/sam4s_gpio.h
index 2217a1648..1d5ee82f2 100644
--- a/nuttx/arch/arm/src/sam34/sam4s_gpio.h
+++ b/nuttx/arch/arm/src/sam34/sam4s_gpio.h
@@ -64,7 +64,7 @@
* MMM. .... .... .... ....
*/
-#define GPIO_MODE_SHIFT (17) /* Bits 17-23: GPIO mode */
+#define GPIO_MODE_SHIFT (17) /* Bits 17-19: GPIO mode */
#define GPIO_MODE_MASK (7 << GPIO_MODE_SHIFT)
# define GPIO_INPUT (0 << GPIO_MODE_SHIFT) /* Input */
# define GPIO_OUTPUT (1 << GPIO_MODE_SHIFT) /* Output */