mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RCProtocol: added using_uart() method
This commit is contained in:
parent
ee6a7f21ec
commit
5df38d0298
@ -142,6 +142,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
Block a user