aboutsummaryrefslogtreecommitdiff
path: root/nuttx/include/termios.h
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-01-11 00:45:25 -0800
committerpx4dev <px4@purgatory.org>2013-01-11 00:45:25 -0800
commitca305933a15c135b2ac82d71fec9fab5b7845b7e (patch)
treeab4cfe6beabb859b40e026fc9dea1d0a7e2caf1c /nuttx/include/termios.h
parentccf9882dc5dbe38b621110f82c4e2ff63aef900e (diff)
parenteaf1d8063cc707b1041e8583663d9edd45f42c5d (diff)
downloadpx4-firmware-ca305933a15c135b2ac82d71fec9fab5b7845b7e.tar.gz
px4-firmware-ca305933a15c135b2ac82d71fec9fab5b7845b7e.tar.bz2
px4-firmware-ca305933a15c135b2ac82d71fec9fab5b7845b7e.zip
Merge commit 'eaf1d8063cc707b1041e8583663d9edd45f42c5d' into nuttx-merge-5447
Build system updates to sync with NuttX upstream.
Diffstat (limited to 'nuttx/include/termios.h')
-rw-r--r--nuttx/include/termios.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/nuttx/include/termios.h b/nuttx/include/termios.h
index c8f590a5b..537edbd8f 100644
--- a/nuttx/include/termios.h
+++ b/nuttx/include/termios.h
@@ -98,20 +98,20 @@
/* Control Modes (c_cflag in the termios structure) */
-#define CSIZE (3 << 0) /* Bits 0-1: Character size: */
-# define CS5 (0 << 0) /* 5 bits */
-# define CS6 (1 << 0) /* 6 bits */
-# define CS7 (2 << 0) /* 7 bits */
-# define CS8 (3 << 0) /* 8 bits */
-#define CSTOPB (1 << 2) /* Bit 2: Send two stop bits, else one */
-#define CREAD (1 << 3) /* Bit 3: Enable receiver */
-#define PARENB (1 << 4) /* Bit 4: Parity enable */
-#define PARODD (1 << 5) /* Bit 5: Odd parity, else even */
-#define HUPCL (1 << 6) /* Bit 6: Hang up on last close */
-#define CLOCAL (1 << 7) /* Bit 7: Ignore modem status lines */
-#define CCTS_OFLOW (1 << 8) /* Bit 8: CTS flow control of output */
-#define CRTSCTS CCTS_OFLOW
-#define CRTS_IFLOW (1 << 9) /* Bit 9: RTS flow control of input */
+#define CSIZE (3 << 0) /* Bits 0-1: Character size: */
+# define CS5 (0 << 0) /* 5 bits */
+# define CS6 (1 << 0) /* 6 bits */
+# define CS7 (2 << 0) /* 7 bits */
+# define CS8 (3 << 0) /* 8 bits */
+#define CSTOPB (1 << 2) /* Bit 2: Send two stop bits, else one */
+#define CREAD (1 << 3) /* Bit 3: Enable receiver */
+#define PARENB (1 << 4) /* Bit 4: Parity enable */
+#define PARODD (1 << 5) /* Bit 5: Odd parity, else even */
+#define HUPCL (1 << 6) /* Bit 6: Hang up on last close */
+#define CLOCAL (1 << 7) /* Bit 7: Ignore modem status lines */
+#define CCTS_OFLOW (1 << 8) /* Bit 8: CTS flow control of output */
+#define CRTSCTS CCTS_OFLOW
+#define CRTS_IFLOW (1 << 9) /* Bit 9: RTS flow control of input */
/* Local Modes (c_lflag in the termios structure) */