diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp
index 227b55398ab189527b5a7e35503d97eadaae018f..92b1c33842baeefdd89d984532a4ab10fa5ad900 100644
--- a/src/modules/commander/commander.cpp
+++ b/src/modules/commander/commander.cpp
@@ -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;
 			}