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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
Marlin/src/gcode/bedlevel/ubl/M49.cpp
|
|
@ -33,8 +33,9 @@ |
|
|
|
|
|
|
|
void GcodeSuite::M49() { |
|
|
|
g26_debug_flag ^= true; |
|
|
|
SERIAL_PROTOCOLPGM("G26 Debug "); |
|
|
|
serialprintPGM(g26_debug_flag ? PSTR("on.") : PSTR("off.")); |
|
|
|
SERIAL_PROTOCOLPGM("G26 Debug: "); |
|
|
|
serialprintPGM(g26_debug_flag ? PSTR("On") : PSTR("Off")); |
|
|
|
SERIAL_EOL(); |
|
|
|
} |
|
|
|
|
|
|
|
#endif // G26_MESH_VALIDATION
|
|
|
|