From c27081aa4a509414eb34b978edf9e978c617e83f Mon Sep 17 00:00:00 2001 From: sefi Date: Sat, 28 Apr 2012 17:35:51 +0300 Subject: [PATCH] Fix to allow M120/M121 --- Marlin/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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