Browse Source

Followup for core endstops

Scott Lahteine 6 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,7 +1571,7 @@ uint32_t Stepper::stepper_block_phase_isr() {
1571 1571
       #if IS_CORE
1572 1572
         // Define conditions for checking endstops
1573 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 1575
       #endif
1576 1576
 
1577 1577
       #if CORE_IS_XY || CORE_IS_XZ

Loading…
Cancel
Save