mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
Add support for the Olimex LPC-H3131 board
This commit is contained in:
@@ -577,8 +577,10 @@ static int up_interrupt(int irq, void *context)
|
||||
static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
||||
{
|
||||
struct inode *inode = filep->f_inode;
|
||||
#ifdef CONFIG_SERIAL_TIOCSERGSTRUCT
|
||||
struct uart_dev_s *dev = inode->i_private;
|
||||
int ret = OK;
|
||||
#endif
|
||||
int ret = OK;
|
||||
|
||||
switch (cmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user