Browse Source

Split bed size sanity check into two

Scott Lahteine 5 years ago
parent
commit
b402040059
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/inc/SanityCheck.h

+ 2
- 2
Marlin/src/inc/SanityCheck.h View File

@@ -423,8 +423,8 @@
423 423
 /**
424 424
  * Validate that the bed size fits
425 425
  */
426
-static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
427
-  "Movement bounds ([XY]_MIN_POS, [XY]_MAX_POS) are too narrow to contain [XY]_BED_SIZE.");
426
+static_assert(X_MAX_LENGTH >= X_BED_SIZE, "Movement bounds (X_MIN_POS, X_MAX_POS) are too narrow to contain X_BED_SIZE.");
427
+static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS) are too narrow to contain Y_BED_SIZE.");
428 428
 
429 429
 /**
430 430
  * Granular software endstops (Marlin >= 1.1.7)

Loading…
Cancel
Save