mirror of https://github.com/ArduPilot/ardupilot
AP_RCProtocol: added using_uart() method
This commit is contained in:
parent
e87e035ccd
commit
1b13a9d15b
|
@ -135,6 +135,11 @@ public:
|
|||
bool invert_rx;
|
||||
};
|
||||
|
||||
// return true if we are decoding a byte stream, instead of pulses
|
||||
bool using_uart(void) const {
|
||||
return _detected_with_bytes;
|
||||
}
|
||||
|
||||
private:
|
||||
void check_added_uart(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue