z_offset change

Avoids to have to recalibrate the delta_height after a z_offset change
2.0.x
LVD-AC 8 years ago committed by teemuatlut
parent dcf30a69d6
commit a9bc1d30cc

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

Loading…
Cancel
Save