mirror of https://github.com/ArduPilot/ardupilot
AP_RCProtocol: added using_uart() method
This commit is contained in:
parent
674d3aa915
commit
9ba73d362d
|
@ -135,6 +135,11 @@ public:
|
||||||
bool invert_rx;
|
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:
|
private:
|
||||||
void check_added_uart(void);
|
void check_added_uart(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue