瀏覽代碼

Followup for core endstops

Scott Lahteine 7 年之前
父節點
當前提交
f28e366b77
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/module/stepper.cpp

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

1571
       #if IS_CORE
1571
       #if IS_CORE
1572
         // Define conditions for checking endstops
1572
         // Define conditions for checking endstops
1573
         #define S_(N) current_block->steps[CORE_AXIS_##N]
1573
         #define S_(N) current_block->steps[CORE_AXIS_##N]
1574
-        #define D_(N) motor_direction(CORE_AXIS_##N)
1574
+        #define D_(N) TEST(current_block->direction_bits, CORE_AXIS_##N)
1575
       #endif
1575
       #endif
1576
 
1576
 
1577
       #if CORE_IS_XY || CORE_IS_XZ
1577
       #if CORE_IS_XY || CORE_IS_XZ

Loading…
取消
儲存