summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-04-06 14:30:15 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-04-06 14:30:15 -0600
commit4251fd2dee3247355441558aa157a8777c63e5e3 (patch)
tree811241cf9b4042c4f3694ab41a2f46b4d83efa88 /nuttx/arch/arm/src/lpc17xx
parent734d1cef29e8333e423c6bf5829cd17677f419e0 (diff)
downloadpx4-nuttx-4251fd2dee3247355441558aa157a8777c63e5e3.tar.gz
px4-nuttx-4251fd2dee3247355441558aa157a8777c63e5e3.tar.bz2
px4-nuttx-4251fd2dee3247355441558aa157a8777c63e5e3.zip
Fix heap size for the STM32 F427/F437 -- from Mike Smith
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx')
-rwxr-xr-xnuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h b/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h
index ab93d08f9..690313f4d 100755
--- a/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h
+++ b/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h
@@ -320,7 +320,7 @@
#define IOCON_ADMODE_MASK (1 << IOCON_ADMODE_SHIFT)
#define IOCON_FILTER_SHIFT (8) /* Bit 8: Type A */
#define IOCON_FILTER_MASK (1 << IOCON_FILTER_SHIFT)
-#define IOCON_I2CHS_SHIFT (8)/* Bits 8: Type I */
+#define IOCON_I2CHS_SHIFT (8) /* Bit 8: Type I */
#define IOCON_I2CHS_MASK (1 << IOCON_I2CHS_SHIFT)
#define IOCON_SLEW_SHIFT (9) /* Bit 9: Type W */
#define IOCON_SLEW_MASK (1 << IOCON_SLEW_SHIFT)
@@ -333,10 +333,10 @@
/* Pin modes */
-#define IOCON_MODE_FLOAT (0) /* 00: pin has neither pull-up nor pull-down */
-#define IOCON_MODE_PD (1) /* 01: pin has a pull-down resistor enabled */
-#define IOCON_MODE_PU (2) /* 10: pin has a pull-up resistor enabled */
-#define IOCON_MODE_RM (3) /* 11: pin has repeater mode enabled */
+#define IOCON_MODE_FLOAT (0) /* 00: pin has neither pull-up nor pull-down */
+#define IOCON_MODE_PD (1) /* 01: pin has a pull-down resistor enabled */
+#define IOCON_MODE_PU (2) /* 10: pin has a pull-up resistor enabled */
+#define IOCON_MODE_RM (3) /* 11: pin has repeater mode enabled */
/* Pin types */