Merge pull request #8607 from benlye/patch-1

[2.0.x] Fix M49 so that it does not hang the terminal console
This commit is contained in:
Scott Lahteine 2017-12-03 03:41:33 -06:00 committed by GitHub
commit 6e944a413c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,8 +33,8 @@
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\n") : PSTR("Off\n"));
} }
#endif // G26_MESH_VALIDATION #endif // G26_MESH_VALIDATION