Browse Source

Fix G34 with Z_DUAL_STEPPER_DRIVERS compile (#16274)

randellhodges 4 years ago
parent
commit
0b6c2d893e
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      Marlin/src/gcode/calibrate/G34_M422.cpp

+ 5
- 2
Marlin/src/gcode/calibrate/G34_M422.cpp View File

85
 static_assert(FTEST(0) && BTEST(0), "The 1st Z_STEPPER_ALIGN_XY Y is unreachable with the default probe Y offset.");
85
 static_assert(FTEST(0) && BTEST(0), "The 1st Z_STEPPER_ALIGN_XY Y is unreachable with the default probe Y offset.");
86
 static_assert(LTEST(1) && RTEST(1), "The 2nd Z_STEPPER_ALIGN_XY X is unreachable with the default probe X offset.");
86
 static_assert(LTEST(1) && RTEST(1), "The 2nd Z_STEPPER_ALIGN_XY X is unreachable with the default probe X offset.");
87
 static_assert(FTEST(1) && BTEST(1), "The 2nd Z_STEPPER_ALIGN_XY Y is unreachable with the default probe Y offset.");
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
 // G34 / M422 shared data
95
 // G34 / M422 shared data

Loading…
Cancel
Save