mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user