chiark / gitweb /
Fix to allow M120/M121
authorsefi <atntias@gmail.com>
Sat, 28 Apr 2012 14:35:51 +0000 (17:35 +0300)
committersefi <atntias@gmail.com>
Sat, 28 Apr 2012 14:35:51 +0000 (17:35 +0300)
Marlin/stepper.cpp

index 29be5c6d9d972ad2ff50721b7a051adda10bf997..85e9bbb98695c0e3f93281fe84ce33618db4e790 100644 (file)
@@ -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