Browse Source

🔧 Split followup

Scott Lahteine 1 year ago
parent
commit
166935641a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Marlin/src/inc/SanityCheck.h

+ 1 - 1
Marlin/src/inc/SanityCheck.h

@@ -264,7 +264,7 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
 #if !defined(X_BED_SIZE) || !defined(Y_BED_SIZE)
   #error "X_BED_SIZE and Y_BED_SIZE are now required!"
 #else
-  #if HAS_Y_AXIS
+  #if HAS_X_AXIS
     static_assert(X_MAX_LENGTH >= X_BED_SIZE, "Movement bounds (X_MIN_POS, X_MAX_POS) are too narrow to contain X_BED_SIZE.");
   #endif
   #if HAS_Y_AXIS