This commit is contained in:
Scott Lahteine 2018-11-12 19:53:56 -06:00
parent fea2363a2e
commit a163c89c6a
3 changed files with 5 additions and 5 deletions

View file

@ -212,7 +212,7 @@ void GcodeSuite::M420() {
} }
SERIAL_ECHO_START(); SERIAL_ECHO_START();
SERIAL_ECHOPGM("Bed Leveling ") SERIAL_ECHOPGM("Bed Leveling ");
serialprintln_onoff(planner.leveling_active); serialprintln_onoff(planner.leveling_active);
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT) #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)

View file

@ -79,13 +79,13 @@ void GcodeSuite::G29() {
switch (state) { switch (state) {
case MeshReport: case MeshReport:
SERIAL_PROTOCOLPGM("Mesh Bed Leveling ");
if (leveling_is_valid()) { if (leveling_is_valid()) {
SERIAL_PROTOCOLPGM("State: ");
serialprintln_onoff(planner.leveling_active); serialprintln_onoff(planner.leveling_active);
mbl.report_mesh(); mbl.report_mesh();
} }
else else
SERIAL_PROTOCOLLNPGM("Mesh bed leveling has no data."); SERIAL_PROTOCOLLNPGM("has no data.");
break; break;
case MeshStart: case MeshStart:

View file

@ -539,10 +539,10 @@
#ifndef MSG_AUTOTEMP #ifndef MSG_AUTOTEMP
#define MSG_AUTOTEMP _UxGT("Autotemp") #define MSG_AUTOTEMP _UxGT("Autotemp")
#endif #endif
#ifndef MSG_ON #ifndef MSG_LCD_ON
#define MSG_LCD_ON _UxGT("On") #define MSG_LCD_ON _UxGT("On")
#endif #endif
#ifndef MSG_OFF #ifndef MSG_LCD_OFF
#define MSG_LCD_OFF _UxGT("Off") #define MSG_LCD_OFF _UxGT("Off")
#endif #endif
#ifndef MSG_PID_P #ifndef MSG_PID_P