mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 08:13:56 -04:00
RC_Channel: correct winch switch comment
This commit is contained in:
parent
a2224f066a
commit
09bf76d9a4
@ -448,7 +448,7 @@ void RC_Channel_Copter::do_aux_function(const aux_func_t ch_option, const AuxSwi
|
|||||||
#if WINCH_ENABLED == ENABLED
|
#if WINCH_ENABLED == ENABLED
|
||||||
switch (ch_flag) {
|
switch (ch_flag) {
|
||||||
case AuxSwitchPos::HIGH:
|
case AuxSwitchPos::HIGH:
|
||||||
// high switch maintains changes the winch to rate control mode
|
// high switch position stops winch using rate control
|
||||||
copter.g2.winch.set_desired_rate(0.0f);
|
copter.g2.winch.set_desired_rate(0.0f);
|
||||||
break;
|
break;
|
||||||
case AuxSwitchPos::MIDDLE:
|
case AuxSwitchPos::MIDDLE:
|
||||||
|
Loading…
Reference in New Issue
Block a user