Browse Source

Allow G33 to compile with no LCD

pull/1/head
Scott Lahteine 6 years ago
parent
commit
0af22549a6
  1. 4
      Marlin/src/gcode/calibrate/G33.cpp

4
Marlin/src/gcode/calibrate/G33.cpp

@ -204,7 +204,7 @@ static float calibration_probe(const float &nx, const float &ny, const bool stow
#endif
}
#if HAS_BED_PROBE
#if HAS_BED_PROBE && ENABLED(ULTIPANEL)
static float probe_z_shift(const float center) {
STOW_PROBE();
endstops.enable_z_probe(false);
@ -588,7 +588,7 @@ void GcodeSuite::G33() {
switch (probe_points) {
case -1:
#if HAS_BED_PROBE
#if HAS_BED_PROBE && ENABLED(ULTIPANEL)
zprobe_zoffset += probe_z_shift(z_at_pt[CEN]);
#endif

Loading…
Cancel
Save