Browse Source

z_offset change

Avoids to have to recalibrate the delta_height after a z_offset change
pull/1/head
LVD-AC 8 years ago
committed by teemuatlut
parent
commit
a9bc1d30cc
  1. 4
      Marlin/Marlin_main.cpp

4
Marlin/Marlin_main.cpp

@ -8488,6 +8488,10 @@ inline void gcode_M503() {
#else
UNUSED(no_babystep);
#endif
#if ENABLED(DELTA) // correct the delta_height
home_offset[Z_AXIS] -= diff;
#endif
}
last_zoffset = zprobe_zoffset;

Loading…
Cancel
Save