diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp
index 3bf61315d881d0fb4755a6a0c6694531b7a8e3bd..325e22ea743ee7557d2f7bedd383d1b9c73b7cb0 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