Revert M290 report style (#18202)

This commit is contained in:
mikekscholz 2020-06-07 19:44:35 -04:00 committed by GitHub
parent 8313302266
commit 859b047a23
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)