|
@@ -204,7 +204,7 @@ static float calibration_probe(const float &nx, const float &ny, const bool stow
|
204
|
204
|
#endif
|
205
|
205
|
}
|
206
|
206
|
|
207
|
|
-#if HAS_BED_PROBE
|
|
207
|
+#if HAS_BED_PROBE && ENABLED(ULTIPANEL)
|
208
|
208
|
static float probe_z_shift(const float center) {
|
209
|
209
|
STOW_PROBE();
|
210
|
210
|
endstops.enable_z_probe(false);
|
|
@@ -588,7 +588,7 @@ void GcodeSuite::G33() {
|
588
|
588
|
|
589
|
589
|
switch (probe_points) {
|
590
|
590
|
case -1:
|
591
|
|
- #if HAS_BED_PROBE
|
|
591
|
+ #if HAS_BED_PROBE && ENABLED(ULTIPANEL)
|
592
|
592
|
zprobe_zoffset += probe_z_shift(z_at_pt[CEN]);
|
593
|
593
|
#endif
|
594
|
594
|
|