diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp
index 29be5c6d9d..85e9bbb986 100644
--- a/Marlin/stepper.cpp
+++ b/Marlin/stepper.cpp
@@ -85,7 +85,7 @@ volatile char count_direction[NUM_AXIS] = { 1, 1, 1, 1};
 #ifdef ENDSTOPS_ONLY_FOR_HOMING
   #define CHECK_ENDSTOPS  if(check_endstops)
 #else
-  #define CHECK_ENDSTOPS
+  #define CHECK_ENDSTOPS  if(check_endstops)
 #endif
 
 // intRes = intIn1 * intIn2 >> 16