mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Move serial header files to include/nuttx/serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4500 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
|
||||
/* Terminal I/O IOCTL definitions are retained in tioctl.h */
|
||||
|
||||
#include <nuttx/tioctl.h>
|
||||
#include <nuttx/serial/tioctl.h>
|
||||
|
||||
/* Watchdog driver ioctl commands *******************************************/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* include/nuttx/serial.h
|
||||
* include/nuttx/serial/serial.h
|
||||
*
|
||||
* Copyright (C) 2007-2008, 2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_SERIAL_H
|
||||
#define __INCLUDE_NUTTX_SERIAL_H
|
||||
#ifndef __INCLUDE_NUTTX_SERIAL_SERIAL_H
|
||||
#define __INCLUDE_NUTTX_SERIAL_SERIAL_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@@ -299,4 +299,4 @@ EXTERN void uart_datasent(FAR uart_dev_t *dev);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_SERIAL_H */
|
||||
#endif /* __INCLUDE_NUTTX_SERIAL_SERIAL_H */
|
||||
@@ -1,5 +1,5 @@
|
||||
/********************************************************************************************
|
||||
* include/nuttx/tioctl.h
|
||||
* include/nuttx/serial/tioctl.h
|
||||
*
|
||||
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -36,8 +36,8 @@
|
||||
* via include/nuttx/fs/ioctl.h.
|
||||
*/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_TIOCTL_H
|
||||
#define __INCLUDE_NUTTX_TIOCTL_H
|
||||
#ifndef __INCLUDE_NUTTX_SERIAL_TIOCTL_H
|
||||
#define __INCLUDE_NUTTX_SERIAL_TIOCTL_H
|
||||
|
||||
/********************************************************************************************
|
||||
* Included Files
|
||||
@@ -194,4 +194,4 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_TIOCTL_H */
|
||||
#endif /* __INCLUDE_NUTTX_SERIAL_TIOCTL_H */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -222,7 +222,7 @@
|
||||
|
||||
/* IOCTL Commands ***********************************************************/
|
||||
/* The USB serial driver will support a subset of the TIOC IOCTL commands
|
||||
* defined in include/nuttx/tioctl.h. This subset includes:
|
||||
* defined in include/nuttx/serial/tioctl.h. This subset includes:
|
||||
*
|
||||
* CAICO_REGISTERCB
|
||||
* Register a callback for serial event notification. Argument:
|
||||
|
||||
Reference in New Issue
Block a user