Browse Source

Final tweaks to M111 output

pull/1/head
Scott Lahteine 9 years ago
parent
commit
56e8e2b0eb
  1. 2
      Marlin/Marlin_main.cpp
  2. 2
      Marlin/language.h

2
Marlin/Marlin_main.cpp

@ -4379,7 +4379,7 @@ inline void gcode_M111() {
uint8_t comma = 0;
for (uint8_t i = 0; i < COUNT(debug_strings); i++) {
if (TEST(marlin_debug_flags, i)) {
if (comma++) SERIAL_CHAR('|');
if (comma++) SERIAL_CHAR(',');
serialprintPGM((char*)pgm_read_word(&(debug_strings[i])));
}
}

2
Marlin/language.h

@ -225,7 +225,7 @@
#define MSG_T_MINTEMP "MINTEMP triggered"
// Debug
#define MSG_DEBUG_PREFIX "DEBUG: "
#define MSG_DEBUG_PREFIX "DEBUG:"
#define MSG_DEBUG_OFF "off"
#define MSG_DEBUG_ECHO "ECHO"
#define MSG_DEBUG_INFO "INFO"

Loading…
Cancel
Save