mikekscholz
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
6 deletions
-
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) |
|
|