Selaa lähdekoodia

Add warning when trying to use JD with kinematic systems (#15032)

Daniel Callander 5 vuotta sitten
vanhempi
commit
155765646e
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7
    0
      Marlin/src/inc/SanityCheck.h

+ 7
- 0
Marlin/src/inc/SanityCheck.h Näytä tiedosto

@@ -1010,6 +1010,13 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1010 1010
 #endif
1011 1011
 
1012 1012
 /**
1013
+ * Junction deviation is not compatible with kinematic systems.
1014
+ */
1015
+#if ENABLED(JUNCTION_DEVIATION) && IS_KINEMATIC
1016
+  #error "Junction deviation is only compatible with Cartesians."
1017
+#endif
1018
+
1019
+/**
1013 1020
  * Probes
1014 1021
  */
1015 1022
 

Loading…
Peruuta
Tallenna