RC_Channel: add camera functions to RC init

This commit is contained in:
Randy Mackay 2023-08-04 15:26:31 +09:00 committed by Andrew Tridgell
parent a8057f0157
commit c733872435
1 changed files with 2 additions and 0 deletions

View File

@ -661,6 +661,7 @@ void RC_Channel::init_aux_function(const aux_func_t ch_option, const AuxSwitchPo
case AUX_FUNC::MOUNT2_YAW:
case AUX_FUNC::LOWEHEISER_STARTER:
case AUX_FUNC::MAG_CAL:
case AUX_FUNC::CAMERA_IMAGE_TRACKING:
break;
// not really aux functions:
@ -697,6 +698,7 @@ void RC_Channel::init_aux_function(const aux_func_t ch_option, const AuxSwitchPo
case AUX_FUNC::CAMERA_ZOOM:
case AUX_FUNC::CAMERA_MANUAL_FOCUS:
case AUX_FUNC::CAMERA_AUTO_FOCUS:
case AUX_FUNC::CAMERA_LENS:
run_aux_function(ch_option, ch_flag, AuxFuncTriggerSource::INIT);
break;
default: