From aa8fd920a4dbf8cd5e7069b3d260f35fc5225e00 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 24 May 2018 03:01:19 -0500 Subject: [PATCH] Followup for core endstops --- Marlin/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index e8900efc9..cd701c47e 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -1534,7 +1534,7 @@ uint32_t Stepper::stepper_block_phase_isr() { #if IS_CORE // Define conditions for checking endstops #define S_(N) current_block->steps[CORE_AXIS_##N] - #define D_(N) motor_direction(CORE_AXIS_##N) + #define D_(N) TEST(current_block->direction_bits, CORE_AXIS_##N) #endif #if CORE_IS_XY || CORE_IS_XZ