chiark / gitweb /
Small cleanup
authorErik van der Zalm <erik@vdzalm.eu>
Mon, 30 Apr 2012 11:37:49 +0000 (13:37 +0200)
committerErik van der Zalm <erik@vdzalm.eu>
Mon, 30 Apr 2012 11:37:49 +0000 (13:37 +0200)
Marlin/stepper.cpp

index 85e9bbb98695c0e3f93281fe84ce33618db4e790..13f18bc3683122208d99ccf482c099a17bcab291 100644 (file)
@@ -82,11 +82,7 @@ volatile char count_direction[NUM_AXIS] = { 1, 1, 1, 1};
 //=============================functions         ============================
 //===========================================================================
 
-#ifdef ENDSTOPS_ONLY_FOR_HOMING
-  #define CHECK_ENDSTOPS  if(check_endstops)
-#else
-  #define CHECK_ENDSTOPS  if(check_endstops)
-#endif
+#define CHECK_ENDSTOPS  if(check_endstops)
 
 // intRes = intIn1 * intIn2 >> 16
 // uses: