Merge pull request #3384 from thinkyhead/rc_adjust_M111_output

Final tweaks to M111 output
This commit is contained in:
Scott Lahteine 2016-04-05 16:48:59 -07:00
commit d5b19a49f6
2 changed files with 2 additions and 2 deletions

View File

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

View File

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