Explorar el Código

Sanity-check skew+UBL

Scott Lahteine hace 7 años
padre
commit
6b93d20e4e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      Marlin/SanityCheck.h

+ 3
- 0
Marlin/SanityCheck.h Ver fichero

@@ -1533,6 +1533,9 @@ static_assert(COUNT(sanity_arr_3) <= XYZE_N, "DEFAULT_MAX_ACCELERATION has too m
1533 1533
 #endif
1534 1534
 
1535 1535
 #if ENABLED(SKEW_CORRECTION)
1536
+  #if ENABLED(AUTO_BED_LEVELING_UBL) && !ENABLED(SEGMENT_LEVELED_MOVES)
1537
+    #error "SKEW_CORRECTION with AUTO_BED_LEVELING_UBL requires SEGMENT_LEVELED_MOVES."
1538
+  #endif
1536 1539
   #if !defined(XY_SKEW_FACTOR) && !(defined(XY_DIAG_AC) && defined(XY_DIAG_BD) && defined(XY_SIDE_AD))
1537 1540
     #error "SKEW_CORRECTION requires XY_SKEW_FACTOR or XY_DIAG_AC, XY_DIAG_BD, XY_SIDE_AD."
1538 1541
   #endif

Loading…
Cancelar
Guardar