summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-13 14:49:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-13 14:49:21 +0000
commit77f58a73a4a41d6f26e296a7caab88c490aa0c95 (patch)
tree5c2e87c0d3704a87484eb0e7b186ec8e66a7a513 /nuttx/arch/arm/src/lpc17xx
parentc14fdd3ffe106e6f5eee49abc5182d55e190709c (diff)
downloadpx4-nuttx-77f58a73a4a41d6f26e296a7caab88c490aa0c95.tar.gz
px4-nuttx-77f58a73a4a41d6f26e296a7caab88c490aa0c95.tar.bz2
px4-nuttx-77f58a73a4a41d6f26e296a7caab88c490aa0c95.zip
Fix some issues with LPC17xx UART2 and 3 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3498 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx')
-rwxr-xr-xnuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c b/nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c
index 47746ef26..c2c52cbdc 100755
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c
@@ -324,7 +324,7 @@ void lpc17_lowsetup(void)
putreg32(regval, LPC17_SYSCON_PCLKSEL0);
regval = getreg32(LPC17_SYSCON_PCLKSEL1);
- regval &= ~(SYSCON_PCLKSEL1_UART2_MASK|SYSCON_PCLKSEL1_UART3_SHIFT);
+ regval &= ~(SYSCON_PCLKSEL1_UART2_MASK|SYSCON_PCLKSEL1_UART3_MASK);
#if defined(CONFIG_UART2_SERIAL_CONSOLE)
regval |= (CONSOLE_CCLKDIV << SYSCON_PCLKSEL1_UART2_SHIFT);
#elif defined(CONFIG_UART3_SERIAL_CONSOLE)