Browse Source

Allow M600 when dryrun debugging

pull/1/head
Robert Kirk 8 years ago
parent
commit
306c184b1a
  1. 2
      Marlin/Marlin_main.cpp
  2. 2
      Marlin/ultralcd.cpp

2
Marlin/Marlin_main.cpp

@ -7267,7 +7267,7 @@ inline void gcode_M503() {
*/
inline void gcode_M600() {
if (thermalManager.tooColdToExtrude(active_extruder)) {
if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
SERIAL_ERROR_START;
SERIAL_ERRORLNPGM(MSG_TOO_COLD_FOR_M600);
return;

2
Marlin/ultralcd.cpp

@ -829,7 +829,7 @@ void kill_screen(const char* lcd_msg) {
#if ENABLED(FILAMENT_CHANGE_FEATURE)
void lcd_enqueue_filament_change() {
if (thermalManager.tooColdToExtrude(active_extruder)) {
if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
lcd_save_previous_screen();
lcd_goto_screen(lcd_filament_change_toocold_menu);
return;

Loading…
Cancel
Save