AP_HAL: added HalfDuplex UART option

This commit is contained in:
Andrew Tridgell 2018-11-14 15:54:52 +11:00
parent 20b2d05dfd
commit 58ed5a123c

View File

@ -49,8 +49,9 @@ public:
virtual bool set_options(uint8_t options) { return options==0; }
enum {
OPTION_RXINV=(1U<<0), // invert RX line
OPTION_TXINV=(1U<<1), // invert TX line
OPTION_RXINV=(1U<<0), // invert RX line
OPTION_TXINV=(1U<<1), // invert TX line
OPTION_HDPLEX=(1U<<2), // half-duplex (one-wire) mode
};
enum flow_control {