From b98b93caa1a9e23eaa2f345b07c6630db96fe205 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 2 Mar 2013 21:05:18 +0000 Subject: [PATCH] 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 --- arch/arm/src/lpc17xx/lpc17_serial.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/lpc17xx/lpc17_serial.c b/arch/arm/src/lpc17xx/lpc17_serial.c index d5f28e1653d..0159d7c7545 100644 --- a/arch/arm/src/lpc17xx/lpc17_serial.c +++ b/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 */