Merge pull request #5577 from manianac/RCBugFix-M600Dryrun

Allow M600 when dryrun debugging
This commit is contained in:
Scott Lahteine 2016-12-22 19:07:05 -08:00 committed by GitHub
commit 71378f72af
2 changed files with 2 additions and 2 deletions

View file

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

View file

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