ArduCopter: log auxillary function invocations

This commit is contained in:
Peter Barker 2021-04-28 19:13:53 +10:00 committed by Peter Barker
parent a12ed2c99f
commit cc90eddc82

View File

@ -113,10 +113,8 @@ void RC_Channel_Copter::init_aux_function(const aux_func_t ch_option, const AuxS
case AUX_FUNC::SUPERSIMPLE_MODE:
case AUX_FUNC::SURFACE_TRACKING:
case AUX_FUNC::WINCH_ENABLE:
do_aux_function(ch_option, ch_flag);
break;
case AUX_FUNC::AIRMODE:
do_aux_function_change_air_mode(ch_flag);
run_aux_function(ch_option, ch_flag, AuxFuncTriggerSource::INIT);
break;
default:
RC_Channel::init_aux_function(ch_option, ch_flag);