From 27d7d2ccab6fca5db9d9e67366f1d28bf9d8d1e1 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Thu, 23 Jul 2015 17:45:28 +0200 Subject: [PATCH] Correct bracketing for COREXY-XZ --- Marlin/stepper.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 14f0475762..f74f2f9734 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -374,7 +374,7 @@ inline void update_endstops() { UPDATE_ENDSTOP(Y, MAX); #endif } - #if defined(COREXY) || defined(COREXZ) + #if defined(COREXY) } #endif @@ -459,6 +459,9 @@ inline void update_endstops() { } #endif } + #if defined(COREXZ) + } + #endif old_endstop_bits = current_endstop_bits; }