Add Z Fade Height to M420 output if it is enabled (#7042)
* Add Z Fade Height to M420 Output Echo the z-fade height when M420 is called, if it is enabled. * Fix Whitespace * Fix Compiler complaint * Missing semi-colon
This commit is contained in:
parent
7b79f443ef
commit
6dcf42f1a7
1 changed files with 9 additions and 0 deletions
|
@ -9032,6 +9032,15 @@ void quickstop_stepper() {
|
||||||
|
|
||||||
SERIAL_ECHO_START();
|
SERIAL_ECHO_START();
|
||||||
SERIAL_ECHOLNPAIR("Bed Leveling ", new_status ? MSG_ON : MSG_OFF);
|
SERIAL_ECHOLNPAIR("Bed Leveling ", new_status ? MSG_ON : MSG_OFF);
|
||||||
|
|
||||||
|
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||||
|
SERIAL_ECHO_START();
|
||||||
|
SERIAL_ECHOPGM("Fade Height ");
|
||||||
|
if (planner.z_fade_height > 0.0)
|
||||||
|
SERIAL_ECHOLN(planner.z_fade_height);
|
||||||
|
else
|
||||||
|
SERIAL_ECHOLNPGM(MSG_OFF);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Reference in a new issue