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

All users set this.
This commit is contained in:
Peter Barker 2020-01-08 14:36:43 +11:00 committed by Peter Barker
parent 316c6af69f
commit 10976344b8

View File

@ -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: