Browse Source

Merge pull request #5577 from manianac/RCBugFix-M600Dryrun

Allow M600 when dryrun debugging
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
71378f72af
  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() { inline void gcode_M600() {
if (thermalManager.tooColdToExtrude(active_extruder)) { if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
SERIAL_ERROR_START; SERIAL_ERROR_START;
SERIAL_ERRORLNPGM(MSG_TOO_COLD_FOR_M600); SERIAL_ERRORLNPGM(MSG_TOO_COLD_FOR_M600);
return; return;

2
Marlin/ultralcd.cpp

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

Loading…
Cancel
Save