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:
Beat Küng 2018-06-09 14:29:43 +02:00
parent 02fc68a53e
commit bf1c11a33c

View File

@ -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;
}