Browse Source

Merge pull request #3384 from thinkyhead/rc_adjust_M111_output

Final tweaks to M111 output
pull/1/head
Scott Lahteine 9 years ago
parent
commit
d5b19a49f6
  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; 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])));
} }
} }

2
Marlin/language.h

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

Loading…
Cancel
Save