AP_HAL: added set_CTS_pin and set_RTS_pin

This commit is contained in:
Andrew Tridgell 2021-07-08 16:35:06 +10:00
parent 6ef37daaad
commit 162cecadec
1 changed files with 7 additions and 0 deletions

View File

@ -129,4 +129,11 @@ public:
// request information on uart I/O for this uart, for @SYS/uarts.txt
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; };
};