Skip to content

Commit

Permalink
RC_Channel: mount-lrf-enable calls mount on init
Browse files Browse the repository at this point in the history
this actually has no effect but makes it clear that we do handle the initial state of the mount's LRF albeit in a different way than expected
  • Loading branch information
rmackay9 committed Mar 22, 2024
1 parent 4fcbad6 commit f030e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/RC_Channel/RC_Channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,6 @@ void RC_Channel::init_aux_function(const AUX_FUNC ch_option, const AuxSwitchPos
case AUX_FUNC::LOWEHEISER_STARTER:
case AUX_FUNC::MAG_CAL:
case AUX_FUNC::CAMERA_IMAGE_TRACKING:
case AUX_FUNC::MOUNT_LRF_ENABLE:
break;

// not really aux functions:
Expand Down Expand Up @@ -696,6 +695,7 @@ void RC_Channel::init_aux_function(const AUX_FUNC ch_option, const AuxSwitchPos
#if HAL_MOUNT_ENABLED
case AUX_FUNC::RETRACT_MOUNT1:
case AUX_FUNC::MOUNT_LOCK:
case AUX_FUNC::MOUNT_LRF_ENABLE:
#endif
case AUX_FUNC::LOG_PAUSE:
case AUX_FUNC::ARM_EMERGENCY_STOP:
Expand Down

0 comments on commit f030e05

Please sign in to comment.