Browse Source

Small cleanup

Erik van der Zalm 13 years ago
parent
commit
6a5a34e0ff
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      Marlin/stepper.cpp

+ 1
- 5
Marlin/stepper.cpp View File

@@ -82,11 +82,7 @@ volatile char count_direction[NUM_AXIS] = { 1, 1, 1, 1};
82 82
 //=============================functions         ============================
83 83
 //===========================================================================
84 84
 
85
-#ifdef ENDSTOPS_ONLY_FOR_HOMING
86
-  #define CHECK_ENDSTOPS  if(check_endstops)
87
-#else
88
-  #define CHECK_ENDSTOPS  if(check_endstops)
89
-#endif
85
+#define CHECK_ENDSTOPS  if(check_endstops)
90 86
 
91 87
 // intRes = intIn1 * intIn2 >> 16
92 88
 // uses:

Loading…
Cancel
Save