Browse Source

Update M49.cpp

Fix M49 so that it does not hang the terminal console.
pull/1/head
Ben Lye 7 years ago
committed by GitHub
parent
commit
1f3ad461bc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Marlin/src/gcode/bedlevel/ubl/M49.cpp

5
Marlin/src/gcode/bedlevel/ubl/M49.cpp

@ -33,8 +33,9 @@
void GcodeSuite::M49() { void GcodeSuite::M49() {
g26_debug_flag ^= true; g26_debug_flag ^= true;
SERIAL_PROTOCOLPGM("G26 Debug "); SERIAL_PROTOCOLPGM("G26 Debug: ");
serialprintPGM(g26_debug_flag ? PSTR("on.") : PSTR("off.")); serialprintPGM(g26_debug_flag ? PSTR("On") : PSTR("Off"));
SERIAL_EOL();
} }
#endif // G26_MESH_VALIDATION #endif // G26_MESH_VALIDATION

Loading…
Cancel
Save