STM32F4Discovery configuration clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4985 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e6970f04e6
commit
1b817cc6d6
|
@ -1218,7 +1218,9 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
{
|
||||
struct inode *inode = filep->f_inode;
|
||||
struct uart_dev_s *dev = inode->i_private;
|
||||
#ifdef CONFIG_SERIAL_TERMIOS
|
||||
struct up_dev_s *priv = (struct up_dev_s*)dev->priv;
|
||||
#endif
|
||||
int ret = OK;
|
||||
|
||||
switch (cmd)
|
||||
|
|
Loading…
Reference in New Issue