Browse Source

Sanity check skew+UBL

Scott Lahteine 7 years ago
parent
commit
f206b81cf7
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/src/inc/SanityCheck.h

+ 3
- 0
Marlin/src/inc/SanityCheck.h View File

1491
 #endif
1491
 #endif
1492
 
1492
 
1493
 #if ENABLED(SKEW_CORRECTION)
1493
 #if ENABLED(SKEW_CORRECTION)
1494
+  #if ENABLED(AUTO_BED_LEVELING_UBL) && !ENABLED(SEGMENT_LEVELED_MOVES)
1495
+    #error "SKEW_CORRECTION with AUTO_BED_LEVELING_UBL requires SEGMENT_LEVELED_MOVES."
1496
+  #endif
1494
   #if !defined(XY_SKEW_FACTOR) && !(defined(XY_DIAG_AC) && defined(XY_DIAG_BD) && defined(XY_SIDE_AD))
1497
   #if !defined(XY_SKEW_FACTOR) && !(defined(XY_DIAG_AC) && defined(XY_DIAG_BD) && defined(XY_SIDE_AD))
1495
     #error "SKEW_CORRECTION requires XY_SKEW_FACTOR or XY_DIAG_AC, XY_DIAG_BD, XY_SIDE_AD."
1498
     #error "SKEW_CORRECTION requires XY_SKEW_FACTOR or XY_DIAG_AC, XY_DIAG_BD, XY_SIDE_AD."
1496
   #endif
1499
   #endif

Loading…
Cancel
Save