浏览代码

Small cleanup

Erik van der Zalm 13 年前
父节点
当前提交
6a5a34e0ff
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1
    5
      Marlin/stepper.cpp

+ 1
- 5
Marlin/stepper.cpp 查看文件

@@ -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:

正在加载...
取消
保存