Differentiate translated On/Off from Serial ON/OFF
This commit is contained in:
@ -212,7 +212,8 @@ void GcodeSuite::M420() {
|
||||
}
|
||||
|
||||
SERIAL_ECHO_START();
|
||||
SERIAL_ECHOLNPAIR("Bed Leveling ", planner.leveling_active ? MSG_ON : MSG_OFF);
|
||||
SERIAL_ECHOPGM("Bed Leveling ")
|
||||
serialprintln_onoff(planner.leveling_active);
|
||||
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
SERIAL_ECHO_START();
|
||||
|
@ -80,7 +80,8 @@ void GcodeSuite::G29() {
|
||||
switch (state) {
|
||||
case MeshReport:
|
||||
if (leveling_is_valid()) {
|
||||
SERIAL_PROTOCOLLNPAIR("State: ", planner.leveling_active ? MSG_ON : MSG_OFF);
|
||||
SERIAL_PROTOCOLPGM("State: ");
|
||||
serialprintln_onoff(planner.leveling_active);
|
||||
mbl.report_mesh();
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user