Browse Source

RC_Channel: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation

All users set this.
zr-v5.1
Peter Barker 5 years ago committed by Peter Barker
parent
commit
10976344b8
  1. 1
      libraries/RC_Channel/RC_Channel.cpp

1
libraries/RC_Channel/RC_Channel.cpp

@ -451,6 +451,7 @@ void RC_Channel::init_aux_function(const aux_func_t ch_option, const aux_switch_ @@ -451,6 +451,7 @@ void RC_Channel::init_aux_function(const aux_func_t ch_option, const aux_switch_
// init channel options
switch(ch_option) {
// the following functions do not need to be initialised:
case AUX_FUNC::ARMDISARM:
case AUX_FUNC::CAMERA_TRIGGER:
case AUX_FUNC::CLEAR_WP:
case AUX_FUNC::COMPASS_LEARN:

Loading…
Cancel
Save