Przeglądaj źródła

Minor code cleanup

Scott Lahteine 6 lat temu
rodzic
commit
afe79ba22b
1 zmienionych plików z 2 dodań i 4 usunięć
  1. 2
    4
      Marlin/src/feature/pause.cpp

+ 2
- 4
Marlin/src/feature/pause.cpp Wyświetl plik

@@ -232,11 +232,9 @@ bool load_filament(const float &slow_load_length/*=0*/, const float &fast_load_l
232 232
       #endif
233 233
 
234 234
       // Keep looping if "Purge More" was selected
235
-    } while (
235
+    } while (false
236 236
       #if HAS_LCD_MENU
237
-        show_lcd && advanced_pause_menu_response == ADVANCED_PAUSE_RESPONSE_EXTRUDE_MORE
238
-      #else
239
-        0
237
+        && show_lcd && advanced_pause_menu_response == ADVANCED_PAUSE_RESPONSE_EXTRUDE_MORE
240 238
       #endif
241 239
     );
242 240
 

Ładowanie…
Anuluj
Zapisz