Allow M600 when dryrun debugging

This commit is contained in:
Robert Kirk 2016-12-21 20:30:51 -05:00
parent fe2ea2906f
commit 306c184b1a
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;