mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 15:25:24 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue