mirror of
https://github.com/apache/nuttx.git
synced 2026-10-18 03:28:59 +00:00
Eliminate some warnings
This commit is contained in:
parent
278701f93d
commit
7a393f9e8b
1 changed files with 2 additions and 2 deletions
|
|
@ -561,7 +561,7 @@ static int usart1_txinterrupt(int irq, void *context)
|
|||
#ifdef CONFIG_AVR_USART0
|
||||
static int usart0_ioctl(struct file *filep, int cmd, unsigned long arg)
|
||||
{
|
||||
#if CONFIG_SERIAL_TERMIOS
|
||||
#ifdef CONFIG_SERIAL_TERMIOS
|
||||
int ret = OK;
|
||||
|
||||
switch (cmd)
|
||||
|
|
@ -585,7 +585,7 @@ static int usart0_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
#ifdef CONFIG_AVR_USART1
|
||||
static int usart1_ioctl(struct file *filep, int cmd, unsigned long arg)
|
||||
{
|
||||
#if CONFIG_SERIAL_TERMIOS
|
||||
#ifdef CONFIG_SERIAL_TERMIOS
|
||||
int ret = OK;
|
||||
|
||||
switch (cmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue