mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user