Final tweaks to M111 output

master
Scott Lahteine 9 years ago
parent d5ccc9c70a
commit 56e8e2b0eb

@ -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])));
} }
} }

@ -225,7 +225,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"

Loading…
Cancel
Save