Browse Source

Followup for core endstops

Scott Lahteine 7 years ago
parent
commit
f28e366b77
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/stepper.cpp

+ 1
- 1
Marlin/src/module/stepper.cpp View File

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…
Cancel
Save