Update M49.cpp

Fix M49 so that it does not hang the terminal console.
This commit is contained in:
Ben Lye 2017-11-30 20:17:44 +00:00 committed by GitHub
parent bee2b5eea4
commit 1f3ad461bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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