Add more options to the Bed Leveling menu
This commit is contained in:
parent
0cbe448edf
commit
01e7e234c6
34 changed files with 165 additions and 126 deletions
|
|
@ -1525,7 +1525,7 @@ void MarlinSettings::reset() {
|
|||
SERIAL_ECHOLNPGM("Mesh Bed Leveling:");
|
||||
}
|
||||
CONFIG_ECHO_START;
|
||||
SERIAL_ECHOPAIR(" M420 S", mbl.has_mesh() ? 1 : 0);
|
||||
SERIAL_ECHOPAIR(" M420 S", leveling_is_valid() ? 1 : 0);
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
SERIAL_ECHOPAIR(" Z", LINEAR_UNIT(planner.z_fade_height));
|
||||
#endif
|
||||
|
|
@ -1549,7 +1549,7 @@ void MarlinSettings::reset() {
|
|||
SERIAL_ECHOLNPGM(":");
|
||||
}
|
||||
CONFIG_ECHO_START;
|
||||
SERIAL_ECHOPAIR(" M420 S", ubl.state.active ? 1 : 0);
|
||||
SERIAL_ECHOPAIR(" M420 S", leveling_is_active() ? 1 : 0);
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
SERIAL_ECHOPAIR(" Z", planner.z_fade_height);
|
||||
#endif
|
||||
|
|
@ -1576,7 +1576,7 @@ void MarlinSettings::reset() {
|
|||
SERIAL_ECHOLNPGM("Auto Bed Leveling:");
|
||||
}
|
||||
CONFIG_ECHO_START;
|
||||
SERIAL_ECHOPAIR(" M420 S", planner.abl_enabled ? 1 : 0);
|
||||
SERIAL_ECHOPAIR(" M420 S", leveling_is_active() ? 1 : 0);
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
SERIAL_ECHOPAIR(" Z", LINEAR_UNIT(planner.z_fade_height));
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue