diff --git a/libraries/AP_RCProtocol/AP_RCProtocol.h b/libraries/AP_RCProtocol/AP_RCProtocol.h index f7ba5cf2df..aa5a062362 100644 --- a/libraries/AP_RCProtocol/AP_RCProtocol.h +++ b/libraries/AP_RCProtocol/AP_RCProtocol.h @@ -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);