mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 05:03:35 +08:00
Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4964 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -110,6 +110,10 @@
|
||||
#define HUPCL (1 << 6) /* Hang up on last close */
|
||||
#define CLOCAL (1 << 7) /* Ignore modem status lines */
|
||||
|
||||
#define CBAUD (0x1f << 8) /* Baud mask (not POSIX) */
|
||||
#define CBAUDEX (0x10 << 8) /* Extra speed mask (not POSIX) */
|
||||
#define _CBAUD_SHIFT 8 /* So that we all agree where the baud code is stored */
|
||||
|
||||
/* Local Modes (c_lflag in the termios structure) */
|
||||
|
||||
#define ECHO (1 << 0) /* Enable echo */
|
||||
|
||||
Reference in New Issue
Block a user