Browse Source

RC_Channel: log init_aux_function and read_aux

zr-v5.1
Pierre Kancir 4 years ago committed by Peter Barker
parent
commit
21d92780d2
  1. 4
      libraries/RC_Channel/RC_Channel.cpp

4
libraries/RC_Channel/RC_Channel.cpp

@ -521,7 +521,7 @@ void RC_Channel::init_aux_function(const aux_func_t ch_option, const AuxSwitchPo @@ -521,7 +521,7 @@ void RC_Channel::init_aux_function(const aux_func_t ch_option, const AuxSwitchPo
#if HAL_MOUNT_ENABLED
case AUX_FUNC::RETRACT_MOUNT:
#endif
do_aux_function(ch_option, ch_flag);
run_aux_function(ch_option, ch_flag, AuxFuncTriggerSource::INIT);
break;
default:
gcs().send_text(MAV_SEVERITY_WARNING, "Failed to init: RC%u_OPTION: %u\n",
@ -638,7 +638,7 @@ bool RC_Channel::read_aux() @@ -638,7 +638,7 @@ bool RC_Channel::read_aux()
#endif
// debounced; undertake the action:
do_aux_function(_option, new_position);
run_aux_function(_option, new_position, AuxFuncTriggerSource::RC);
return true;
}

Loading…
Cancel
Save