mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-13 14:20:34 +08:00
We aren't using RS485 but single wire.
This commit is contained in:
@@ -169,6 +169,9 @@
|
||||
|
||||
#define TIOCSERGSTRUCT _TIOC(0x002c) /* Get device TTY structure */
|
||||
|
||||
#define TIOCSSINGLEWIRE _TIOC(0x002d) /* Set single-wire mode */
|
||||
#define TIOCGSINGLEWIRE _TIOC(0x002e) /* Get single-wire mode */
|
||||
|
||||
/* Definitions used in struct serial_rs485 (Linux compatible) */
|
||||
|
||||
#define SER_RS485_ENABLED (1 << 0) /* Enable/disble RS-485 support */
|
||||
@@ -176,6 +179,9 @@
|
||||
#define SER_RS485_RTS_AFTER_SEND (1 << 2) /* Logic level for RTS pin after sent */
|
||||
#define SER_RS485_RX_DURING_TX (1 << 4)
|
||||
|
||||
/* single-wire definitions */
|
||||
#define SER_SINGLEWIRE_ENABLED (1 << 0) /* Enable/disble single-wire support */
|
||||
|
||||
/********************************************************************************************
|
||||
* Public Type Definitions
|
||||
********************************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user