Skip to content

Commit

Permalink
Merge pull request #5577 from manianac/RCBugFix-M600Dryrun
Browse files Browse the repository at this point in the history
Allow M600 when dryrun debugging
  • Loading branch information
thinkyhead authored Dec 23, 2016
2 parents fe2ea29 + 306c184 commit 71378f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Marlin/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71378f7

Please sign in to comment.