Allow G33 to compile with no LCD
This commit is contained in:
parent
fc55f1da01
commit
0af22549a6
@ -204,7 +204,7 @@ static float calibration_probe(const float &nx, const float &ny, const bool stow
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAS_BED_PROBE
|
#if HAS_BED_PROBE && ENABLED(ULTIPANEL)
|
||||||
static float probe_z_shift(const float center) {
|
static float probe_z_shift(const float center) {
|
||||||
STOW_PROBE();
|
STOW_PROBE();
|
||||||
endstops.enable_z_probe(false);
|
endstops.enable_z_probe(false);
|
||||||
@ -588,7 +588,7 @@ void GcodeSuite::G33() {
|
|||||||
|
|
||||||
switch (probe_points) {
|
switch (probe_points) {
|
||||||
case -1:
|
case -1:
|
||||||
#if HAS_BED_PROBE
|
#if HAS_BED_PROBE && ENABLED(ULTIPANEL)
|
||||||
zprobe_zoffset += probe_z_shift(z_at_pt[CEN]);
|
zprobe_zoffset += probe_z_shift(z_at_pt[CEN]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user