Pārlūkot izejas kodu

Allow M600 when dryrun debugging

Robert Kirk 8 gadus atpakaļ
vecāks
revīzija
306c184b1a
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1
    1
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Parādīt failu

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

+ 1
- 1
Marlin/ultralcd.cpp Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt