Browse Source

Revert M290 report style (#18202)

vanilla_fb_2.0.x
mikekscholz 5 years ago
committed by GitHub
parent
commit
859b047a23
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Marlin/src/gcode/motion/M290.cpp

8
Marlin/src/gcode/motion/M290.cpp

@ -41,14 +41,10 @@
#if ENABLED(BABYSTEP_ZPROBE_OFFSET) #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
FORCE_INLINE void mod_probe_offset(const float &offs) { FORCE_INLINE void mod_probe_offset(const float &offs) {
if (true if (TERN1(BABYSTEP_HOTEND_Z_OFFSET, active_extruder == 0)) {
#if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
&& active_extruder == 0
#endif
) {
probe.offset.z += offs; probe.offset.z += offs;
SERIAL_ECHO_START(); SERIAL_ECHO_START();
SERIAL_ECHOLNPAIR(STR_PROBE_OFFSET STR_Z ": ", probe.offset.z); SERIAL_ECHOLNPAIR(STR_PROBE_OFFSET " " STR_Z, probe.offset.z);
} }
else { else {
#if ENABLED(BABYSTEP_HOTEND_Z_OFFSET) #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)

Loading…
Cancel
Save