diff --git a/Marlin/Marlin.h b/Marlin/Marlin.h index f4e353a5d7..58c0618bc8 100644 --- a/Marlin/Marlin.h +++ b/Marlin/Marlin.h @@ -75,8 +75,8 @@ typedef unsigned long millis_t; #define SERIAL_PROTOCOL(x) MYSERIAL.print(x) #define SERIAL_PROTOCOL_F(x,y) MYSERIAL.print(x,y) #define SERIAL_PROTOCOLPGM(x) serialprintPGM(PSTR(x)) -#define SERIAL_PROTOCOLLN(x) do{ MYSERIAL.print(x),MYSERIAL.write('\n'); }while(0) -#define SERIAL_PROTOCOLLNPGM(x) do{ serialprintPGM(PSTR(x)),MYSERIAL.write('\n'); }while(0) +#define SERIAL_PROTOCOLLN(x) do{ MYSERIAL.print(x); SERIAL_EOL; }while(0) +#define SERIAL_PROTOCOLLNPGM(x) do{ serialprintPGM(PSTR(x)); SERIAL_EOL; }while(0) extern const char errormagic[] PROGMEM; diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index eb33589d94..0732a1cfa6 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -3636,17 +3636,17 @@ inline void gcode_M109() { inline void gcode_M111() { marlin_debug_flags = code_seen('S') ? code_value_short() : DEBUG_INFO|DEBUG_COMMUNICATION; - SERIAL_ECHO_START; - if (marlin_debug_flags & DEBUG_ECHO) SERIAL_ECHOLNPGM(MSG_DEBUG_ECHO); + if (marlin_debug_flags & DEBUG_ECHO) { + SERIAL_ECHO_START; + SERIAL_ECHOLNPGM(MSG_DEBUG_ECHO); + } // FOR MOMENT NOT ACTIVE //if (marlin_debug_flags & DEBUG_INFO) SERIAL_ECHOLNPGM(MSG_DEBUG_INFO); //if (marlin_debug_flags & DEBUG_ERRORS) SERIAL_ECHOLNPGM(MSG_DEBUG_ERRORS); if (marlin_debug_flags & DEBUG_DRYRUN) { + SERIAL_ECHO_START; SERIAL_ECHOLNPGM(MSG_DEBUG_DRYRUN); - setTargetBed(0); - for (int8_t cur_hotend = 0; cur_hotend < EXTRUDERS; ++cur_hotend) { - setTargetHotend(0, cur_hotend); - } + disable_all_heaters(); } } diff --git a/Marlin/configurator/config/language.h b/Marlin/configurator/config/language.h index f83a0d9a1e..2c3f9d240d 100644 --- a/Marlin/configurator/config/language.h +++ b/Marlin/configurator/config/language.h @@ -195,8 +195,6 @@ #define MSG_KP " Kp: " #define MSG_KI " Ki: " #define MSG_KD " Kd: " -#define MSG_OK_B "ok B:" -#define MSG_OK_T "ok T:" #define MSG_AT " @:" #define MSG_PID_AUTOTUNE_FINISHED MSG_PID_AUTOTUNE " finished! Put the last Kp, Ki and Kd constants from below into Configuration.h" #define MSG_PID_DEBUG " PID_DEBUG "