From: sefi Date: Sat, 28 Apr 2012 14:35:51 +0000 (+0300) Subject: Fix to allow M120/M121 X-Git-Tag: iwj-success-2012-07-29~32^2~2^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c27081aa4a509414eb34b978edf9e978c617e83f;p=marlin.git Fix to allow M120/M121 --- diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 29be5c6..85e9bbb 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