mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: added set_CTS_pin and set_RTS_pin
This commit is contained in:
parent
6ef37daaad
commit
162cecadec
|
@ -129,4 +129,11 @@ public:
|
||||||
|
|
||||||
// request information on uart I/O for this uart, for @SYS/uarts.txt
|
// request information on uart I/O for this uart, for @SYS/uarts.txt
|
||||||
virtual void uart_info(ExpandingString &str) {}
|
virtual void uart_info(ExpandingString &str) {}
|
||||||
|
|
||||||
|
/*
|
||||||
|
software control of the CTS/RTS pins if available. Return false if
|
||||||
|
not available
|
||||||
|
*/
|
||||||
|
virtual bool set_RTS_pin(bool high) { return false; };
|
||||||
|
virtual bool set_CTS_pin(bool high) { return false; };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue