From 6a6e863a471f00cbeb54808fa628859de7f5ae84 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Mon, 10 Aug 2015 19:19:41 +0200 Subject: [PATCH] Resolve #2581 by adding a missed ';' (PR#67) --- Marlin/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 3bf61315d8..325e22ea74 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -430,7 +430,7 @@ inline void update_endstops() { #if HAS_Z2_MAX SET_ENDSTOP_BIT(Z2, MAX); #else - COPY_BIT(current_endstop_bits, Z_MAX, Z2_MAX) + COPY_BIT(current_endstop_bits, Z_MAX, Z2_MAX); #endif byte z_test = TEST_ENDSTOP(Z_MAX) << 0 + TEST_ENDSTOP(Z2_MAX) << 1; // bit 0 for Z, bit 1 for Z2