Parcourir la source

Fix G34 with Z_DUAL_STEPPER_DRIVERS compile (#16274)

randellhodges il y a 4 ans
Parent
révision
0b6c2d893e
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5
    2
      Marlin/src/gcode/calibrate/G34_M422.cpp

+ 5
- 2
Marlin/src/gcode/calibrate/G34_M422.cpp Voir le fichier

@@ -85,8 +85,11 @@ static_assert(LTEST(0) && RTEST(0), "The 1st Z_STEPPER_ALIGN_XY X is unreachable
85 85
 static_assert(FTEST(0) && BTEST(0), "The 1st Z_STEPPER_ALIGN_XY Y is unreachable with the default probe Y offset.");
86 86
 static_assert(LTEST(1) && RTEST(1), "The 2nd Z_STEPPER_ALIGN_XY X is unreachable with the default probe X offset.");
87 87
 static_assert(FTEST(1) && BTEST(1), "The 2nd Z_STEPPER_ALIGN_XY Y is unreachable with the default probe Y offset.");
88
-static_assert(LTEST(2) && RTEST(2), "The 3rd Z_STEPPER_ALIGN_XY X is unreachable with the default probe X offset.");
89
-static_assert(FTEST(2) && BTEST(2), "The 3rd Z_STEPPER_ALIGN_XY Y is unreachable with the default probe Y offset.");
88
+
89
+#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
90
+  static_assert(LTEST(2) && RTEST(2), "The 3rd Z_STEPPER_ALIGN_XY X is unreachable with the default probe X offset.");
91
+  static_assert(FTEST(2) && BTEST(2), "The 3rd Z_STEPPER_ALIGN_XY Y is unreachable with the default probe Y offset.");
92
+#endif
90 93
 
91 94
 //
92 95
 // G34 / M422 shared data

Chargement…
Annuler
Enregistrer