Browse Source

Merge pull request #5577 from manianac/RCBugFix-M600Dryrun

Allow M600 when dryrun debugging
Scott Lahteine 8 years ago
parent
commit
71378f72af
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

7267
    */
7267
    */
7268
   inline void gcode_M600() {
7268
   inline void gcode_M600() {
7269
 
7269
 
7270
-    if (thermalManager.tooColdToExtrude(active_extruder)) {
7270
+    if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
7271
       SERIAL_ERROR_START;
7271
       SERIAL_ERROR_START;
7272
       SERIAL_ERRORLNPGM(MSG_TOO_COLD_FOR_M600);
7272
       SERIAL_ERRORLNPGM(MSG_TOO_COLD_FOR_M600);
7273
       return;
7273
       return;

+ 1
- 1
Marlin/ultralcd.cpp View File

829
 
829
 
830
   #if ENABLED(FILAMENT_CHANGE_FEATURE)
830
   #if ENABLED(FILAMENT_CHANGE_FEATURE)
831
     void lcd_enqueue_filament_change() {
831
     void lcd_enqueue_filament_change() {
832
-      if (thermalManager.tooColdToExtrude(active_extruder)) {
832
+      if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
833
         lcd_save_previous_screen();
833
         lcd_save_previous_screen();
834
         lcd_goto_screen(lcd_filament_change_toocold_menu);
834
         lcd_goto_screen(lcd_filament_change_toocold_menu);
835
         return;
835
         return;

Loading…
Cancel
Save