Allow G33 to compile with no LCD
This commit is contained in:
parent
f1467ddc0e
commit
bdb2dd27ad
@ -5671,7 +5671,7 @@ void home_all_axes() { gcode_G28(true); }
|
|||||||
#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);
|
||||||
@ -6055,7 +6055,7 @@ void home_all_axes() { gcode_G28(true); }
|
|||||||
|
|
||||||
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