summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-02 21:05:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-02 21:05:18 +0000
commitecb06df06f2899bdf7869ffed6f66baef3694f0a (patch)
treeb34200f7eeb45d3ab06caedd9ad90361d8ed3e8f /nuttx/arch/arm/src/lpc17xx/lpc17_serial.c
parent0b885f1e9f51eee913e9971d9f456e5f1b585da3 (diff)
downloadpx4-nuttx-ecb06df06f2899bdf7869ffed6f66baef3694f0a.tar.gz
px4-nuttx-ecb06df06f2899bdf7869ffed6f66baef3694f0a.tar.bz2
px4-nuttx-ecb06df06f2899bdf7869ffed6f66baef3694f0a.zip
Minor clean-up - Open1788 and LPC17xx serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5699 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_serial.c')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_serial.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c b/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c
index d5f28e165..0159d7c75 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c
@@ -1242,9 +1242,11 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
priv->baud = cfgetispeed(termiosp);
- /* Re-calculate the optimal CCLK divisor for the new baud */
+ /* TODO: Re-calculate the optimal CCLK divisor for the new baud and
+ * and reset the divider in the CLKSEL0/1 register.
+ */
-#ifdef LPC176x
+#if 0 // ifdef LPC176x
priv->cclkdiv = lpc17_uartcclkdiv(priv->baud);
#endif
/* DLAB open latch */