Browse Source

RC_Channel: add method on RC_Channels to execute aux function

zr-v5.1
Peter Barker 4 years ago committed by Peter Barker
parent
commit
30539ac8ac
  1. 4
      libraries/RC_Channel/RC_Channel.h

4
libraries/RC_Channel/RC_Channel.h

@ -482,6 +482,10 @@ public: @@ -482,6 +482,10 @@ public:
uint32_t last_input_ms() const { return last_update_ms; };
void do_aux_function(RC_Channel::AUX_FUNC ch_option, RC_Channel::AuxSwitchPos pos) {
rc_channel(0)->do_aux_function(ch_option, pos);
}
protected:
enum class Option {

Loading…
Cancel
Save