diff options
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_serial.c')
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/lpc17_serial.c | 6 |
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 */ |