Browse Source

Update M49.cpp

Fix M49 so that it does not hang the terminal console.
Ben Lye 7 years ago
parent
commit
1f3ad461bc
No account linked to committer's email address
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/src/gcode/bedlevel/ubl/M49.cpp

+ 3
- 2
Marlin/src/gcode/bedlevel/ubl/M49.cpp View File

33
 
33
 
34
 void GcodeSuite::M49() {
34
 void GcodeSuite::M49() {
35
   g26_debug_flag ^= true;
35
   g26_debug_flag ^= true;
36
-  SERIAL_PROTOCOLPGM("G26 Debug ");
37
-  serialprintPGM(g26_debug_flag ? PSTR("on.") : PSTR("off."));
36
+  SERIAL_PROTOCOLPGM("G26 Debug: ");
37
+  serialprintPGM(g26_debug_flag ? PSTR("On") : PSTR("Off"));
38
+  SERIAL_EOL();
38
 }
39
 }
39
 
40
 
40
 #endif // G26_MESH_VALIDATION
41
 #endif // G26_MESH_VALIDATION

Loading…
Cancel
Save