mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-29 15:54:06 +08:00
commander: move comment to the right place
It's now the same way as in the ARM logic further down.
This commit is contained in:
parent
02fc68a53e
commit
bf1c11a33c
@ -2271,9 +2271,9 @@ Commander::run()
|
||||
}
|
||||
|
||||
stick_off_counter++;
|
||||
/* do not reset the counter when holding the arm button longer than needed */
|
||||
|
||||
} else if (!(arm_switch_is_button == 1 && sp_man.arm_switch == manual_control_setpoint_s::SWITCH_POS_ON)) {
|
||||
/* do not reset the counter when holding the arm button longer than needed */
|
||||
stick_off_counter = 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user